(16.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (0.1ms) SHOW search_path  (2.1ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'schema_migrations' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111114184611)  (0.1ms) BEGIN  (4.4ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184611')  (0.7ms) COMMIT Migrating to CreateAdmins (20111114184654)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "admins" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184654')  (0.9ms) COMMIT Migrating to CreateThings (20111114184712)  (0.2ms) BEGIN  (3.5ms) CREATE TABLE "things" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184712')  (0.5ms) COMMIT Migrating to CreateWidgets (20111114184731)  (0.2ms) BEGIN  (5.2ms) CREATE TABLE "widgets" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184731')  (0.7ms) COMMIT  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (1.2ms) SHOW search_path  (2.4ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'admins' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.3ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'things' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (0.8ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'users' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (0.9ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'widgets' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) SET search_path TO public  (5039.1ms) DROP DATABASE IF EXISTS "acts_permissive_test" PG::Error: ERROR: database "acts_permissive_test" is being accessed by other users DETAIL: There are 1 other session(s) using the database. : DROP DATABASE IF EXISTS "acts_permissive_test"  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (0.2ms) SHOW search_path  (2.5ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'schema_migrations' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111114184611)  (0.1ms) BEGIN  (4.5ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184611')  (1.4ms) COMMIT Migrating to CreateAdmins (20111114184654)  (0.2ms) BEGIN  (4.4ms) CREATE TABLE "admins" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184654')  (0.8ms) COMMIT Migrating to CreateThings (20111114184712)  (0.2ms) BEGIN  (5.4ms) CREATE TABLE "things" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184712')  (0.6ms) COMMIT Migrating to CreateWidgets (20111114184731)  (0.2ms) BEGIN  (7.6ms) CREATE TABLE "widgets" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111114184731')  (1.4ms) COMMIT  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.2ms) SHOW search_path  (2.6ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'admins' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.6ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'things' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (1.6ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'users' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (2.5ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'widgets' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) SET search_path TO public  (564.9ms) DROP DATABASE IF EXISTS "acts_permissive_test"  (0.1ms) SET search_path TO public  (304.6ms) CREATE DATABASE "acts_permissive_test" ENCODING = 'utf8'  (11.0ms) CREATE TABLE "admins" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (5.2ms) CREATE TABLE "things" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (4.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (4.5ms) CREATE TABLE "widgets" ("id" serial primary key, "name" character varying(255), "guid" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (0.1ms) SHOW search_path  (2.9ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'schema_migrations' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111114184731')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20111114184611')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111114184654')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111114184712')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111114184611) Migrating to CreateAdmins (20111114184654) Migrating to CreateThings (20111114184712) Migrating to CreateWidgets (20111114184731)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.2ms) SHOW search_path  (3.0ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'admins' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.2ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'things' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (0.8ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'users' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (0.8ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'widgets' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (42.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20111114184611) Migrating to CreateAdmins (20111114184654) Migrating to CreateThings (20111114184712) Migrating to CreateWidgets (20111114184731)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) SHOW search_path  (3.1ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'admins' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.4ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'things' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname   (1.4ms) SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'users' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname  (1.4ms)  SELECT distinct i.relname, d.indisunique, d.indkey, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = 'widgets' AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname IN ('"$user"','public') ) ORDER BY i.relname