ajax_validator 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 868822c268e34d53eb77a3f71303601f3ebc831d
4
- data.tar.gz: c3f3f823c2349429a69070db413eb7d5d7ced794
3
+ metadata.gz: 0dab531f625c13a48f3d57686f5b472da706aad9
4
+ data.tar.gz: 55cd9a1ee78f5cff5406e159ad996f9d60b9a2c8
5
5
  SHA512:
6
- metadata.gz: 109560f79aa816742c66ae2bd2f5b156e0c3dc7a31383499f272f67af6cd152651bd8696be67430c5da306ae0db3574f2bd618fbb3f2af7c27f965b4570b45db
7
- data.tar.gz: 13bf2c0eacc4cc6d3394ffb74349942c73e1027d34bb0e599ab45917319ab9369de4cb473d235fb19f70a958967a7546b807889ffeb57e0ef0f729d96d1075ec
6
+ metadata.gz: d0dc1f91b3bd51765eb6326213b3cda259866dd191d2bfb31fff8f2d3ce9ec1592cf332734042fc5106d968612d2d22fa2c5d3b81286320c0c7dd35f5655a340
7
+ data.tar.gz: b7e9acbb9829eaad32e6ca338224942119ad0b9b9f6a187793b62cb35126d7906c88eb26c2e0b442d18533deb41c43f982821b9a8d24724a31259a9907f3cbb2
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  > Ajax Live Form Validation Rails Engine
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/ajax_validator.svg)](https://badge.fury.io/rb/ajax_validator)
5
6
  [![Build Status](https://travis-ci.org/efigence/ajax_validator.svg?branch=master)](http://travis-ci.org/efigence/ajax_validator)
6
7
 
7
8
  ## Demo
@@ -12,7 +13,7 @@
12
13
 
13
14
  1. Add to `Gemfile`
14
15
 
15
- gem 'ajax_validator', path: 'vendor/engines/ajax_validator'
16
+ gem 'ajax_validator'
16
17
  2. Bundle
17
18
 
18
19
  bundle install
@@ -21,7 +22,7 @@
21
22
  AjaxValidator::Engine.setup do |config|
22
23
  config.ajax_validator_engine = {
23
24
  # if form object is used, both classes must be put here
24
- whitelist_models: ['some_klass', 'some_module/some_klass']
25
+ whitelist_klasses: ['some_klass', 'some_module/some_klass']
25
26
  }
26
27
  end
27
28
  4. Copy migration (currently, not needed)
@@ -51,7 +52,7 @@ Include the needed javascript file in your application.js or application.js.coff
51
52
 
52
53
  Add these attributes on text input field:
53
54
  class: 'ajax_validator__field'
54
- data-form-object='validations/signup_form_company_name' [Optional, leave empty string '' validate on model directly]
55
+ data-form-object='validations/signup_form_company_name' [Optional, leave empty string '' to validate on model directly]
55
56
  data-resource-model='company'
56
57
  data-resource-attr-name='name'
57
58
  data-ignore-resource-attr-value='false' [Optional, set to 'true' when attribute is assembled from additional params instead]
@@ -88,9 +89,9 @@ Include the needed javascript file in your application.js or application.js.coff
88
89
  ---
89
90
 
90
91
  bundle exec appraisal rails-4.1 rake spec
91
- bundle exec appraisal rails-4.1 rake app:cucumber
92
92
 
93
93
  ## How to develop
94
- bundle exec rails g scaffold Post name:string --integration_tool=rspec --helper=false --assets=false
95
- bundle exec rails g cucumber_scaffold:feature Post name:string
96
- bundle exec rails db:migrate
94
+ gem 'ajax_validator', path: 'vendor/engines/ajax_validator'
95
+
96
+ bundle exec rails g scaffold ajax_validator/post name:string --integration_tool=rspec --helper=false --assets=false
97
+ bundle exec rake db:migrate
@@ -82,8 +82,13 @@ module AjaxValidator
82
82
  else
83
83
  form_object_klass = nil
84
84
  end
85
- guard_whitelist(resource_model)
86
- resource_model_klass = constantize_klass(resource_model)
85
+ if resource_model.present?
86
+ guard_whitelist(resource_model)
87
+ resource_model_klass = constantize_klass(resource_model)
88
+ else
89
+ resource_model_klass = nil
90
+ end
91
+ guard_whitelist(Object) if form_object_klass.nil? && resource_model_klass.nil?
87
92
  [form_object_klass, resource_model_klass]
88
93
  end
89
94
 
@@ -1,3 +1,3 @@
1
1
  module AjaxValidator
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define() do
14
+ ActiveRecord::Schema.define(version: 0) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -759,3 +759,629 @@ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrati
759
759
  PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
760
760
  : SELECT "schema_migrations".* FROM "schema_migrations"
761
761
  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
762
+  (0.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
763
+  (0.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
764
+ PG::InsufficientPrivilege: ERROR: must be owner of database ajax_validator_test
765
+ : DROP DATABASE IF EXISTS "ajax_validator_test"
766
+  (0.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
767
+ PG::InsufficientPrivilege: ERROR: must be owner of database ajax_validator_test
768
+ : DROP DATABASE IF EXISTS "ajax_validator_test"
769
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
770
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
771
+ : SELECT "schema_migrations".* FROM "schema_migrations"
772
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
773
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
774
+ : SELECT "schema_migrations".* FROM "schema_migrations"
775
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
776
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
777
+ : SELECT "schema_migrations".* FROM "schema_migrations"
778
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
779
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
780
+ : SELECT "schema_migrations".* FROM "schema_migrations"
781
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
782
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
783
+  (117.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
784
+  (835.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
785
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
786
+  (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
787
+  (10.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
788
+  (0.5ms) SELECT version FROM "schema_migrations"
789
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
790
+  (115.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
791
+  (329.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
792
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
793
+  (10.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
794
+  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
795
+  (0.5ms) SELECT version FROM "schema_migrations"
796
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
797
+  (116.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
798
+  (343.9ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
799
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
800
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
801
+  (16.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
802
+  (0.5ms) SELECT version FROM "schema_migrations"
803
+  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
804
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
805
+ Migrating to CreateAjaxValidatorPosts (20160418080246)
806
+  (0.2ms) BEGIN
807
+  (25.1ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
808
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160418080246"]]
809
+  (4.3ms) COMMIT
810
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
811
+  (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
812
+ FROM pg_constraint c
813
+ JOIN pg_class t1 ON c.conrelid = t1.oid
814
+ JOIN pg_class t2 ON c.confrelid = t2.oid
815
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
816
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
817
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
818
+ WHERE c.contype = 'f'
819
+ AND t1.relname = 'ajax_validator_posts'
820
+ AND t3.nspname = ANY (current_schemas(false))
821
+ ORDER BY c.conname
822
+ 
823
+  (116.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
824
+  (415.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
825
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
826
+  (15.7ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
827
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
828
+  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
829
+  (0.5ms) SELECT version FROM "schema_migrations"
830
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418080246')
831
+  (116.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
832
+  (387.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
833
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
834
+  (19.8ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
835
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
836
+  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
837
+  (0.4ms) SELECT version FROM "schema_migrations"
838
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418080246')
839
+  (114.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
840
+  (342.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
841
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
842
+  (13.9ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
843
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
844
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
845
+  (0.5ms) SELECT version FROM "schema_migrations"
846
+  (40.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418080246')
847
+  (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
848
+  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
849
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
850
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
851
+  (0.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
852
+ PG::InsufficientPrivilege: ERROR: must be owner of database ajax_validator_test
853
+ : DROP DATABASE IF EXISTS "ajax_validator_test"
854
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
855
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
856
+  (116.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
857
+  (378.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
858
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
859
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
860
+  (5.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
861
+  (0.5ms) SELECT version FROM "schema_migrations"
862
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
863
+  (120.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
864
+  (328.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
865
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
866
+  (10.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
867
+  (7.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
868
+  (0.5ms) SELECT version FROM "schema_migrations"
869
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
870
+  (114.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
871
+  (314.5ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
872
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
873
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
874
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
875
+  (0.5ms) SELECT version FROM "schema_migrations"
876
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
877
+  (115.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
878
+  (352.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
879
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
880
+  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
881
+  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
882
+  (0.4ms) SELECT version FROM "schema_migrations"
883
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
884
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
885
+ Migrating to CreateAjaxValidatorPosts (20160418111912)
886
+  (0.2ms) BEGIN
887
+  (15.1ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
888
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160418111912"]]
889
+  (12.1ms) COMMIT
890
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
891
+  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
892
+ FROM pg_constraint c
893
+ JOIN pg_class t1 ON c.conrelid = t1.oid
894
+ JOIN pg_class t2 ON c.confrelid = t2.oid
895
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
896
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
897
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
898
+ WHERE c.contype = 'f'
899
+ AND t1.relname = 'ajax_validator_posts'
900
+ AND t3.nspname = ANY (current_schemas(false))
901
+ ORDER BY c.conname
902
+ 
903
+  (115.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
904
+  (458.5ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
905
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
906
+  (15.2ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
907
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
908
+  (24.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
909
+  (0.5ms) SELECT version FROM "schema_migrations"
910
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418111912')
911
+  (116.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
912
+  (556.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
913
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
914
+  (12.6ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
915
+  (8.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
916
+  (121.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
917
+  (0.6ms) SELECT version FROM "schema_migrations"
918
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418111912')
919
+  (114.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
920
+  (411.9ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
921
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
922
+  (13.8ms) CREATE TABLE "ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
923
+  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
924
+  (5.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
925
+  (0.4ms) SELECT version FROM "schema_migrations"
926
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418111912')
927
+  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
928
+  (8.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
929
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
930
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
931
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
932
+ Migrating to CreateAjaxValidatorAjaxValidatorPosts (20160418113840)
933
+  (0.2ms) BEGIN
934
+  (9.5ms) CREATE TABLE "ajax_validator_ajax_validator_posts" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
935
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160418113840"]]
936
+  (2.0ms) COMMIT
937
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
938
+  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
939
+ FROM pg_constraint c
940
+ JOIN pg_class t1 ON c.conrelid = t1.oid
941
+ JOIN pg_class t2 ON c.confrelid = t2.oid
942
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
943
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
944
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
945
+ WHERE c.contype = 'f'
946
+ AND t1.relname = 'ajax_validator_ajax_validator_posts'
947
+ AND t3.nspname = ANY (current_schemas(false))
948
+ ORDER BY c.conname
949
+ 
950
+  (215.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
951
+  (373.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
952
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
953
+  (15.2ms) CREATE TABLE "ajax_validator_ajax_validator_posts" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
954
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
955
+  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
956
+  (0.4ms) SELECT version FROM "schema_migrations"
957
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418113840')
958
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
959
+  (25.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
960
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
961
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
962
+  (116.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
963
+  (430.5ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
964
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
965
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
966
+  (10.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
967
+  (0.5ms) SELECT version FROM "schema_migrations"
968
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
969
+  (115.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
970
+  (389.9ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
971
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
972
+  (12.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
973
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
974
+  (0.5ms) SELECT version FROM "schema_migrations"
975
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
976
+  (116.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
977
+  (339.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
978
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
979
+  (5.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
980
+  (5.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
981
+  (0.5ms) SELECT version FROM "schema_migrations"
982
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
983
+  (116.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
984
+  (344.3ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
985
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
986
+  (12.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
987
+  (11.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
988
+  (0.5ms) SELECT version FROM "schema_migrations"
989
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
990
+  (115.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
991
+  (326.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
992
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
993
+  (8.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
994
+  (10.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
995
+  (0.5ms) SELECT version FROM "schema_migrations"
996
+  (9.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
997
+  (114.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
998
+  (321.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
999
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1000
+  (5.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1001
+  (11.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1002
+  (0.5ms) SELECT version FROM "schema_migrations"
1003
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1004
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1005
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1006
+  (114.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1007
+  (322.3ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1008
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1009
+  (14.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1010
+  (6.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1011
+  (0.5ms) SELECT version FROM "schema_migrations"
1012
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1013
+  (116.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1014
+  (337.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1015
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1016
+  (8.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1017
+  (16.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1018
+  (0.5ms) SELECT version FROM "schema_migrations"
1019
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1020
+  (119.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1021
+  (437.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1022
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1023
+  (34.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1024
+  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1025
+  (0.5ms) SELECT version FROM "schema_migrations"
1026
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1027
+  (1.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1028
+  (0.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1029
+ PG::InsufficientPrivilege: ERROR: must be owner of database ajax_validator_test
1030
+ : DROP DATABASE IF EXISTS "ajax_validator_test"
1031
+  (116.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1032
+  (936.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1033
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1034
+  (10.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1035
+  (20.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1036
+  (0.4ms) SELECT version FROM "schema_migrations"
1037
+  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1038
+  (116.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1039
+  (350.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1040
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1041
+  (11.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1042
+  (7.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1043
+  (0.5ms) SELECT version FROM "schema_migrations"
1044
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1045
+  (119.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1046
+  (355.4ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1047
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1048
+  (7.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1049
+  (7.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1050
+  (0.4ms) SELECT version FROM "schema_migrations"
1051
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1052
+  (122.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1053
+  (371.9ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1054
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1055
+  (14.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1056
+  (5.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1057
+  (0.5ms) SELECT version FROM "schema_migrations"
1058
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1059
+  (0.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1060
+  (0.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1061
+  (117.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1062
+  (326.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1063
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1064
+  (4.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1065
+  (19.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1066
+  (0.5ms) SELECT version FROM "schema_migrations"
1067
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1068
+  (116.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1069
+  (345.4ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1070
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1071
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1072
+  (6.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1073
+  (0.4ms) SELECT version FROM "schema_migrations"
1074
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1075
+  (115.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1076
+  (336.5ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1077
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1078
+  (6.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1079
+  (7.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1080
+  (0.5ms) SELECT version FROM "schema_migrations"
1081
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1082
+  (117.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1083
+  (360.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1084
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1085
+  (8.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1086
+  (31.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1087
+  (0.5ms) SELECT version FROM "schema_migrations"
1088
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1089
+  (117.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1090
+  (530.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1091
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1092
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1093
+  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1094
+  (0.4ms) SELECT version FROM "schema_migrations"
1095
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1096
+  (116.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1097
+  (311.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1098
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1099
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1100
+  (14.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1101
+  (0.5ms) SELECT version FROM "schema_migrations"
1102
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1103
+  (117.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1104
+  (337.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1105
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1106
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1107
+  (9.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1108
+  (0.4ms) SELECT version FROM "schema_migrations"
1109
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1110
+  (116.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1111
+  (336.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1112
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1113
+  (10.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1114
+  (14.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1115
+  (0.5ms) SELECT version FROM "schema_migrations"
1116
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1117
+  (117.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1118
+  (357.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1119
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1120
+  (5.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1121
+  (6.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1122
+  (0.5ms) SELECT version FROM "schema_migrations"
1123
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1124
+  (117.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1125
+  (320.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1126
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1127
+  (13.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1128
+  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1129
+  (0.4ms) SELECT version FROM "schema_migrations"
1130
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1131
+  (117.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1132
+  (402.5ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1133
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1134
+  (4.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1135
+  (11.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1136
+  (0.5ms) SELECT version FROM "schema_migrations"
1137
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1138
+  (115.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1139
+  (324.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1140
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1141
+  (4.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1142
+  (7.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1143
+  (0.5ms) SELECT version FROM "schema_migrations"
1144
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1145
+  (117.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1146
+  (324.3ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1147
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1148
+  (9.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1149
+  (11.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1150
+  (0.5ms) SELECT version FROM "schema_migrations"
1151
+  (10.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1152
+  (117.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1153
+  (360.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1154
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1155
+  (32.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1156
+  (10.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1157
+  (0.5ms) SELECT version FROM "schema_migrations"
1158
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1159
+  (117.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1160
+  (337.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1161
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1162
+  (8.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1163
+  (6.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1164
+  (0.4ms) SELECT version FROM "schema_migrations"
1165
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1166
+  (120.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1167
+  (341.4ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1168
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1169
+  (4.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1170
+  (11.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1171
+  (0.4ms) SELECT version FROM "schema_migrations"
1172
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1173
+  (117.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1174
+  (332.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1175
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1176
+  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1177
+  (23.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1178
+  (0.5ms) SELECT version FROM "schema_migrations"
1179
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1180
+  (117.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1181
+  (344.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1182
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1183
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1184
+  (9.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1185
+  (0.5ms) SELECT version FROM "schema_migrations"
1186
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1187
+  (177.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1188
+  (321.3ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1189
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1190
+  (6.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1191
+  (20.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1192
+  (0.6ms) SELECT version FROM "schema_migrations"
1193
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1194
+  (121.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1195
+  (363.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1196
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1197
+  (12.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1198
+  (8.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1199
+  (0.5ms) SELECT version FROM "schema_migrations"
1200
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1201
+  (117.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1202
+  (374.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1203
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1204
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1205
+  (7.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1206
+  (0.5ms) SELECT version FROM "schema_migrations"
1207
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1208
+  (117.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1209
+  (415.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1210
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1211
+  (7.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1212
+  (14.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1213
+  (0.5ms) SELECT version FROM "schema_migrations"
1214
+  (10.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1215
+  (115.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1216
+  (321.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1217
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1218
+  (8.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1219
+  (6.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1220
+  (0.5ms) SELECT version FROM "schema_migrations"
1221
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1222
+  (117.3ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1223
+  (323.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1224
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1225
+  (8.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1226
+  (7.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1227
+  (0.5ms) SELECT version FROM "schema_migrations"
1228
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1229
+  (116.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1230
+  (385.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1231
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1232
+  (7.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1233
+  (7.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1234
+  (0.5ms) SELECT version FROM "schema_migrations"
1235
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1236
+  (116.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1237
+  (325.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1238
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1239
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1240
+  (9.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1241
+  (0.5ms) SELECT version FROM "schema_migrations"
1242
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1243
+  (117.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1244
+  (312.9ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1245
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1246
+  (18.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1247
+  (6.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1248
+  (0.4ms) SELECT version FROM "schema_migrations"
1249
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1250
+  (117.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1251
+  (366.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1252
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1253
+  (7.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1254
+  (14.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1255
+  (0.5ms) SELECT version FROM "schema_migrations"
1256
+  (9.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1257
+  (117.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1258
+  (325.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1259
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1260
+  (5.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1261
+  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1262
+  (0.5ms) SELECT version FROM "schema_migrations"
1263
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1264
+  (117.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1265
+  (336.3ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1266
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1267
+  (8.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1268
+  (18.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1269
+  (0.4ms) SELECT version FROM "schema_migrations"
1270
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1271
+  (116.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1272
+  (837.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1273
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1274
+  (8.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1275
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1276
+  (0.5ms) SELECT version FROM "schema_migrations"
1277
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1278
+  (119.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1279
+  (386.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1280
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1281
+  (12.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1282
+  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1283
+  (0.5ms) SELECT version FROM "schema_migrations"
1284
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1285
+  (115.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1286
+  (542.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1287
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1288
+  (27.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1289
+  (7.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1290
+  (0.4ms) SELECT version FROM "schema_migrations"
1291
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1292
+  (2.6ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1293
+  (117.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1294
+  (329.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1295
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1296
+  (14.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1297
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1298
+  (0.5ms) SELECT version FROM "schema_migrations"
1299
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1300
+  (116.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1301
+  (344.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1302
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1303
+  (33.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1304
+  (4.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1305
+  (0.4ms) SELECT version FROM "schema_migrations"
1306
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1307
+  (1.4ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1308
+  (117.9ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1309
+  (443.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1310
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1311
+  (11.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1312
+  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1313
+  (0.5ms) SELECT version FROM "schema_migrations"
1314
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1315
+  (1.2ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1316
+  (116.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1317
+  (320.6ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1318
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1319
+  (10.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1320
+  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1321
+  (0.5ms) SELECT version FROM "schema_migrations"
1322
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1323
+  (1.0ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1324
+  (115.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1325
+  (387.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1326
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1327
+  (34.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1328
+  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1329
+  (0.4ms) SELECT version FROM "schema_migrations"
1330
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1331
+  (1.0ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1332
+  (115.5ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1333
+  (349.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1334
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1335
+  (20.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1336
+  (13.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1337
+  (0.5ms) SELECT version FROM "schema_migrations"
1338
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1339
+  (1.4ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1340
+  (118.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1341
+  (379.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1342
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1343
+  (13.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1344
+  (4.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1345
+  (0.5ms) SELECT version FROM "schema_migrations"
1346
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1347
+  (1.0ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1348
+  (114.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1349
+  (334.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1350
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1351
+  (10.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1352
+  (7.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1353
+  (0.5ms) SELECT version FROM "schema_migrations"
1354
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1355
+  (1.5ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1356
+  (117.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1357
+  (475.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1358
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1359
+  (13.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1360
+  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1361
+  (0.5ms) SELECT version FROM "schema_migrations"
1362
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1363
+  (1.0ms) select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname='ajax_validator_test' AND state='idle';
1364
+  (115.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1365
+  (337.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1366
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1367
+  (9.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1368
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1369
+  (0.5ms) SELECT version FROM "schema_migrations"
1370
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1371
+  (1.0ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1372
+ PG::InsufficientPrivilege: ERROR: must be owner of database ajax_validator_test
1373
+ : DROP DATABASE IF EXISTS "ajax_validator_test"
1374
+  (116.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1375
+  (929.0ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1376
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1377
+  (141.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1378
+  (230.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1379
+  (0.5ms) SELECT version FROM "schema_migrations"
1380
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1381
+  (114.6ms) DROP DATABASE IF EXISTS "ajax_validator_test"
1382
+  (331.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
1383
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1384
+  (11.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1385
+  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1386
+  (0.5ms) SELECT version FROM "schema_migrations"
1387
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')