rails_admin_content_builder 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rspec +4 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +8 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +12 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +129 -0
  11. data/Rakefile +21 -0
  12. data/app/assets/images/cb-image-default.jpg +0 -0
  13. data/app/assets/images/cb-loading.svg +1 -0
  14. data/app/assets/images/cb-snippet-image-text.jpg +0 -0
  15. data/app/assets/images/cb-snippet-image.jpg +0 -0
  16. data/app/assets/images/cb-snippet-quote-text.jpg +0 -0
  17. data/app/assets/images/cb-snippet-quote.jpg +0 -0
  18. data/app/assets/images/cb-snippet-text-image.jpg +0 -0
  19. data/app/assets/images/cb-snippet-text-quote.jpg +0 -0
  20. data/app/assets/images/cb-snippet-text.jpg +0 -0
  21. data/app/assets/images/cb-snippet-video.jpg +0 -0
  22. data/app/assets/images/cb-video-default.jpg +0 -0
  23. data/app/assets/javascripts/rails_admin/content_builder.js.erb +295 -0
  24. data/app/assets/stylesheets/rails_admin/content_builder.scss +238 -0
  25. data/app/controllers/rails_admin_content_builder/content_builder_controller.rb +19 -0
  26. data/app/helpers/rails_admin_content_builder/content_builder_helpers.rb +32 -0
  27. data/app/models/rails_admin_content_builder/content_builder.rb +27 -0
  28. data/app/models/rails_admin_content_builder/content_builder_category.rb +12 -0
  29. data/app/models/rails_admin_content_builder/content_builder_image.rb +10 -0
  30. data/app/views/.gitkeep +0 -0
  31. data/app/views/rails_admin/main/content_builder.html.erb +42 -0
  32. data/bin/console +14 -0
  33. data/bin/setup +8 -0
  34. data/config/initializers/assets.rb +11 -0
  35. data/config/locales/content_builder.en.yml +17 -0
  36. data/config/locales/content_builder.pt-BR.yml +17 -0
  37. data/config/routes.rb +5 -0
  38. data/lib/generators/rails_admin_content_builder_generator.rb +32 -0
  39. data/lib/generators/templates/content_builder_image_uploader.rb +54 -0
  40. data/lib/generators/templates/create_content_builder_category_migration.rb +10 -0
  41. data/lib/generators/templates/create_content_builder_image_migration.rb +10 -0
  42. data/lib/generators/templates/create_content_builder_migration.rb +16 -0
  43. data/lib/generators/templates/rails_admin_content_builder.rb +37 -0
  44. data/lib/rails_admin_content_builder.rb +55 -0
  45. data/lib/rails_admin_content_builder/engine.rb +26 -0
  46. data/lib/rails_admin_content_builder/version.rb +3 -0
  47. data/rails_admin_content_builder.gemspec +42 -0
  48. data/screenshot/image1.png +0 -0
  49. data/spec/controllers/rails_admin_content_builder/content_builder_controller_spec.rb +19 -0
  50. data/spec/dummy/Gemfile +11 -0
  51. data/spec/dummy/Gemfile.lock +217 -0
  52. data/spec/dummy/Rakefile +6 -0
  53. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  54. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  55. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  56. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  57. data/spec/dummy/app/uploaders/content_builder_image_uploader.rb +54 -0
  58. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  59. data/spec/dummy/bin/bundle +3 -0
  60. data/spec/dummy/bin/rails +4 -0
  61. data/spec/dummy/bin/rake +4 -0
  62. data/spec/dummy/bin/setup +29 -0
  63. data/spec/dummy/config.ru +4 -0
  64. data/spec/dummy/config/application.rb +31 -0
  65. data/spec/dummy/config/boot.rb +5 -0
  66. data/spec/dummy/config/database.yml +25 -0
  67. data/spec/dummy/config/environment.rb +5 -0
  68. data/spec/dummy/config/environments/development.rb +41 -0
  69. data/spec/dummy/config/environments/production.rb +79 -0
  70. data/spec/dummy/config/environments/test.rb +42 -0
  71. data/spec/dummy/config/initializers/assets.rb +11 -0
  72. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  73. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  74. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  75. data/spec/dummy/config/initializers/inflections.rb +16 -0
  76. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  77. data/spec/dummy/config/initializers/rails_admin.rb +37 -0
  78. data/spec/dummy/config/initializers/rails_admin_content_builder.rb +37 -0
  79. data/spec/dummy/config/initializers/session_store.rb +3 -0
  80. data/spec/dummy/config/initializers/simple_form.rb +165 -0
  81. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  82. data/spec/dummy/config/locales/en.yml +23 -0
  83. data/spec/dummy/config/locales/simple_form.en.yml +31 -0
  84. data/spec/dummy/config/routes.rb +57 -0
  85. data/spec/dummy/config/secrets.yml +22 -0
  86. data/spec/dummy/db/development.sqlite3 +0 -0
  87. data/spec/dummy/db/migrate/20160713200802_create_content_builder_categories.rb +10 -0
  88. data/spec/dummy/db/migrate/20160713200803_create_content_builders.rb +15 -0
  89. data/spec/dummy/db/migrate/20160713200804_create_content_builder_images.rb +10 -0
  90. data/spec/dummy/db/schema.rb +46 -0
  91. data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
  92. data/spec/dummy/log/development.log +1182 -0
  93. data/spec/dummy/public/404.html +67 -0
  94. data/spec/dummy/public/422.html +67 -0
  95. data/spec/dummy/public/500.html +66 -0
  96. data/spec/dummy/public/favicon.ico +0 -0
  97. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/center_example.jpg +0 -0
  98. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/example.jpg +0 -0
  99. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/1/left_or_right_example.jpg +0 -0
  100. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/center_example.jpg +0 -0
  101. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/example.jpg +0 -0
  102. data/spec/dummy/public/uploads/rails_admin_content_builder/content_builder_image/image/2/left_or_right_example.jpg +0 -0
  103. data/spec/dummy/public/uploads/tmp/1461693110-14578-0001-7683/center_example.jpg +0 -0
  104. data/spec/dummy/public/uploads/tmp/1461693110-14578-0001-7683/example.jpg +0 -0
  105. data/spec/dummy/public/uploads/tmp/1461693110-14578-0001-7683/left_or_right_example.jpg +0 -0
  106. data/spec/dummy/public/uploads/tmp/1461693202-14651-0001-6505/center_example.jpg +0 -0
  107. data/spec/dummy/public/uploads/tmp/1461693202-14651-0001-6505/example.jpg +0 -0
  108. data/spec/dummy/public/uploads/tmp/1461693202-14651-0001-6505/left_or_right_example.jpg +0 -0
  109. data/spec/dummy/public/uploads/tmp/1461693245-14728-0001-4392/center_example.jpg +0 -0
  110. data/spec/dummy/public/uploads/tmp/1461693245-14728-0001-4392/example.jpg +0 -0
  111. data/spec/dummy/public/uploads/tmp/1461693245-14728-0001-4392/left_or_right_example.jpg +0 -0
  112. data/spec/factories/content_builder_categories.rb +5 -0
  113. data/spec/factories/content_builder_images.rb +6 -0
  114. data/spec/factories/content_builders.rb +10 -0
  115. data/spec/features/create_content_builder_category_spec.rb +18 -0
  116. data/spec/features/create_content_builder_spec.rb +34 -0
  117. data/spec/features/status_content_builder_spec.rb +28 -0
  118. data/spec/fixtures/assets/example.jpg +0 -0
  119. data/spec/helpers/rails_admin_content_builder/content_builder_helper_spec.rb +33 -0
  120. data/spec/models/rails_admin_content_builder/content_builder_category_spec.rb +11 -0
  121. data/spec/models/rails_admin_content_builder/content_builder_image_spec.rb +11 -0
  122. data/spec/models/rails_admin_content_builder/content_builder_spec.rb +44 -0
  123. data/spec/spec_helper.rb +36 -0
  124. data/spec/version_spec.rb +7 -0
  125. data/vendor/assets/stylesheets/rails_admin_content_builder.scss +214 -0
  126. metadata +3100 -0
@@ -0,0 +1,46 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20160713200804) do
15
+
16
+ create_table "content_builder_categories", force: :cascade do |t|
17
+ t.string "name"
18
+ t.string "slug"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
22
+
23
+ create_table "content_builder_images", force: :cascade do |t|
24
+ t.string "image"
25
+ t.integer "content_builder_id"
26
+ t.datetime "created_at", null: false
27
+ t.datetime "updated_at", null: false
28
+ end
29
+
30
+ add_index "content_builder_images", ["content_builder_id"], name: "index_content_builder_images_on_content_builder_id"
31
+
32
+ create_table "content_builders", force: :cascade do |t|
33
+ t.string "title"
34
+ t.string "written_by"
35
+ t.datetime "date_publish"
36
+ t.text "content"
37
+ t.boolean "status", default: false
38
+ t.string "slug"
39
+ t.integer "content_builder_category_id"
40
+ t.datetime "created_at", null: false
41
+ t.datetime "updated_at", null: false
42
+ end
43
+
44
+ add_index "content_builders", ["content_builder_category_id"], name: "index_content_builders_on_content_builder_category_id"
45
+
46
+ end
@@ -0,0 +1,13 @@
1
+ <%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
2
+ <%%= f.error_notification %>
3
+
4
+ <div class="form-inputs">
5
+ <%- attributes.each do |attribute| -%>
6
+ <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
7
+ <%- end -%>
8
+ </div>
9
+
10
+ <div class="form-actions">
11
+ <%%= f.button :submit %>
12
+ </div>
13
+ <%% end %>
@@ -0,0 +1,1182 @@
1
+  (7.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
7
+  (0.0ms) select sqlite_version(*)
8
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+  (0.1ms) SELECT version FROM "schema_migrations"
10
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ Migrating to CreateContentBuilders (20160426125046)
14
+  (0.0ms) begin transaction
15
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
16
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125046"]]
17
+  (3.3ms) commit transaction
18
+ Migrating to CreateContentBuilderImages (20160426125047)
19
+  (0.1ms) begin transaction
20
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
21
+  (0.0ms) select sqlite_version(*)
22
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
23
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125047"]]
24
+  (0.8ms) commit transaction
25
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
+  (0.1ms)  SELECT sql
27
+ FROM sqlite_master
28
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
29
+ UNION ALL
30
+ SELECT sql
31
+ FROM sqlite_temp_master
32
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
33
+ 
34
+  (6.6ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35
+  (0.1ms) select sqlite_version(*)
36
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
37
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
38
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
39
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
40
+  (0.0ms) SELECT version FROM "schema_migrations"
41
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
42
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
43
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
+  (0.4ms)  SELECT sql
46
+ FROM sqlite_master
47
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
48
+ UNION ALL
49
+ SELECT sql
50
+ FROM sqlite_temp_master
51
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
52
+ 
53
+  (1.9ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
54
+  (0.1ms) select sqlite_version(*)
55
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
56
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
57
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
58
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59
+  (0.0ms) SELECT version FROM "schema_migrations"
60
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
61
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
62
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
63
+  (0.1ms) select sqlite_version(*)
64
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
65
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+ Migrating to CreateContentBuilders (20160426125046)
67
+  (0.1ms) begin transaction
68
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
69
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125046"]]
70
+  (1.7ms) commit transaction
71
+ Migrating to CreateContentBuilderImages (20160426125047)
72
+  (0.0ms) begin transaction
73
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
74
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
75
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125047"]]
76
+  (0.8ms) commit transaction
77
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
78
+  (0.1ms)  SELECT sql
79
+ FROM sqlite_master
80
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
81
+ UNION ALL
82
+ SELECT sql
83
+ FROM sqlite_temp_master
84
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
85
+ 
86
+  (2.6ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
87
+  (0.1ms) select sqlite_version(*)
88
+  (0.9ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
89
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
90
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
91
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
92
+  (0.0ms) SELECT version FROM "schema_migrations"
93
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
94
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
95
+  (0.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
96
+  (0.0ms) select sqlite_version(*)
97
+  (0.7ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
98
+  (0.7ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
99
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
100
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
101
+  (0.0ms) SELECT version FROM "schema_migrations"
102
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
103
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
106
+  (0.1ms) select sqlite_version(*)
107
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
108
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
109
+ Migrating to CreateContentBuilders (20160426125046)
110
+  (0.1ms) begin transaction
111
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
112
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125046"]]
113
+  (1.0ms) commit transaction
114
+ Migrating to CreateContentBuilderImages (20160426125047)
115
+  (0.0ms) begin transaction
116
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
117
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
118
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426125047"]]
119
+  (0.7ms) commit transaction
120
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
+  (0.4ms)  SELECT sql
122
+ FROM sqlite_master
123
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
124
+ UNION ALL
125
+ SELECT sql
126
+ FROM sqlite_temp_master
127
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
128
+ 
129
+  (2.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
130
+  (0.1ms) select sqlite_version(*)
131
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
132
+  (1.0ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
133
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
134
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
135
+  (0.1ms) SELECT version FROM "schema_migrations"
136
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
137
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
138
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
139
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
140
+  (0.1ms)  SELECT sql
141
+ FROM sqlite_master
142
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
143
+ UNION ALL
144
+ SELECT sql
145
+ FROM sqlite_temp_master
146
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
147
+ 
148
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
149
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+  (0.1ms)  SELECT sql
151
+ FROM sqlite_master
152
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
153
+ UNION ALL
154
+ SELECT sql
155
+ FROM sqlite_temp_master
156
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
157
+ 
158
+  (6.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
159
+  (0.1ms) select sqlite_version(*)
160
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
161
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
162
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
163
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
164
+  (0.0ms) SELECT version FROM "schema_migrations"
165
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
166
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
167
+  (7.9ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
168
+  (0.1ms) select sqlite_version(*)
169
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
170
+  (1.0ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
171
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
172
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
173
+  (0.0ms) SELECT version FROM "schema_migrations"
174
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
175
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
176
+  (1.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
177
+  (0.1ms) select sqlite_version(*)
178
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
179
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
180
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
181
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
182
+  (0.0ms) SELECT version FROM "schema_migrations"
183
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
184
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
185
+  (2.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
186
+  (0.1ms) select sqlite_version(*)
187
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
188
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
189
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
190
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
191
+  (0.0ms) SELECT version FROM "schema_migrations"
192
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
193
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125046')
194
+  (6.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
195
+  (0.1ms) select sqlite_version(*)
196
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
197
+  (1.0ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
198
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
199
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
200
+  (0.1ms) SELECT version FROM "schema_migrations"
201
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426125047')
202
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
203
+ Migrating to CreateContentBuilders (20160426205618)
204
+  (0.1ms) begin transaction
205
+  (0.1ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
206
+  (0.0ms) rollback transaction
207
+  (7.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
208
+  (0.1ms) select sqlite_version(*)
209
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
210
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
211
+ Migrating to CreateContentBuilders (20160426205618)
212
+  (0.1ms) begin transaction
213
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
214
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205618"]]
215
+  (1.0ms) commit transaction
216
+ Migrating to CreateContentBuilderImages (20160426205619)
217
+  (0.0ms) begin transaction
218
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
219
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
220
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205619"]]
221
+  (0.9ms) commit transaction
222
+ Migrating to CreateContentBuilderRelateds (20160426205620)
223
+  (0.0ms) begin transaction
224
+  (0.1ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
225
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
226
+  (0.7ms) commit transaction
227
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
228
+  (0.1ms)  SELECT sql
229
+ FROM sqlite_master
230
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
231
+ UNION ALL
232
+ SELECT sql
233
+ FROM sqlite_temp_master
234
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
235
+ 
236
+  (218.0ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
237
+  (0.1ms) select sqlite_version(*)
238
+  (77.4ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
239
+  (127.3ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
240
+  (187.6ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
241
+  (77.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
242
+  (99.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
243
+  (0.1ms) SELECT version FROM "schema_migrations"
244
+  (79.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
245
+  (79.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205619')
246
+  (79.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205618')
247
+  (2.6ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
248
+  (0.1ms) select sqlite_version(*)
249
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
250
+  (0.8ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
251
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
252
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
253
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
254
+  (0.0ms) SELECT version FROM "schema_migrations"
255
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
256
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205619')
257
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205618')
258
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
+ Migrating to CreateContentBuilders (20160428143712)
260
+  (0.1ms) begin transaction
261
+  (0.1ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
262
+  (0.0ms) rollback transaction
263
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
264
+  (0.1ms) select sqlite_version(*)
265
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
266
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
267
+ Migrating to CreateContentBuilderRelateds (20160426205620)
268
+  (0.0ms) begin transaction
269
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
270
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
271
+  (0.9ms) commit transaction
272
+ Migrating to CreateContentBuilders (20160428143712)
273
+  (0.0ms) begin transaction
274
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
275
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428143712"]]
276
+  (0.9ms) commit transaction
277
+ Migrating to CreateContentBuilderImages (20160428143713)
278
+  (0.0ms) begin transaction
279
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
280
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
281
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428143713"]]
282
+  (0.8ms) commit transaction
283
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
284
+  (0.1ms)  SELECT sql
285
+ FROM sqlite_master
286
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
287
+ UNION ALL
288
+ SELECT sql
289
+ FROM sqlite_temp_master
290
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
291
+ 
292
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
293
+  (0.1ms) select sqlite_version(*)
294
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
295
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
296
+ Migrating to CreateContentBuilderRelateds (20160426205620)
297
+  (0.1ms) begin transaction
298
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
299
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
300
+  (0.7ms) commit transaction
301
+ Migrating to CreateContentBuilders (20160428143712)
302
+  (0.0ms) begin transaction
303
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
304
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428143712"]]
305
+  (0.7ms) commit transaction
306
+ Migrating to CreateContentBuilderImages (20160428143713)
307
+  (0.1ms) begin transaction
308
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
309
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
310
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428143713"]]
311
+  (0.8ms) commit transaction
312
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
313
+  (0.1ms)  SELECT sql
314
+ FROM sqlite_master
315
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
316
+ UNION ALL
317
+ SELECT sql
318
+ FROM sqlite_temp_master
319
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
320
+ 
321
+  (7.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
322
+  (0.1ms) select sqlite_version(*)
323
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
324
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
325
+ Migrating to CreateContentBuilderRelateds (20160426205620)
326
+  (0.0ms) begin transaction
327
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
328
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
329
+  (0.7ms) commit transaction
330
+ Migrating to CreateContentBuilders (20160428144721)
331
+  (0.0ms) begin transaction
332
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
333
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144721"]]
334
+  (0.7ms) commit transaction
335
+ Migrating to CreateContentBuilderImages (20160428144722)
336
+  (0.0ms) begin transaction
337
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
338
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
339
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144722"]]
340
+  (0.7ms) commit transaction
341
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
342
+  (0.1ms)  SELECT sql
343
+ FROM sqlite_master
344
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
345
+ UNION ALL
346
+ SELECT sql
347
+ FROM sqlite_temp_master
348
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
349
+ 
350
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
351
+  (0.1ms) select sqlite_version(*)
352
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
353
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
354
+ Migrating to CreateContentBuilderRelateds (20160426205620)
355
+  (0.1ms) begin transaction
356
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
357
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
358
+  (1.6ms) commit transaction
359
+ Migrating to CreateContentBuilders (20160428144721)
360
+  (0.0ms) begin transaction
361
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
362
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144721"]]
363
+  (0.7ms) commit transaction
364
+ Migrating to CreateContentBuilderImages (20160428144722)
365
+  (0.0ms) begin transaction
366
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
367
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
368
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144722"]]
369
+  (0.8ms) commit transaction
370
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
371
+  (0.2ms)  SELECT sql
372
+ FROM sqlite_master
373
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
374
+ UNION ALL
375
+ SELECT sql
376
+ FROM sqlite_temp_master
377
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
378
+ 
379
+  (1.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
380
+  (0.1ms) select sqlite_version(*)
381
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
382
+  (0.7ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
383
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
384
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
385
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
386
+  (0.0ms) SELECT version FROM "schema_migrations"
387
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428144722')
388
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428144721')
389
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
390
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
391
+  (0.1ms) select sqlite_version(*)
392
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
393
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
394
+ Migrating to CreateContentBuilderRelateds (20160426205620)
395
+  (0.1ms) begin transaction
396
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
397
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
398
+  (0.9ms) commit transaction
399
+ Migrating to CreateContentBuilders (20160428144721)
400
+  (0.0ms) begin transaction
401
+  (0.6ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
402
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144721"]]
403
+  (0.7ms) commit transaction
404
+ Migrating to CreateContentBuilderImages (20160428144722)
405
+  (0.1ms) begin transaction
406
+  (0.9ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
407
+  (0.2ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
408
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160428144722"]]
409
+  (0.8ms) commit transaction
410
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
411
+  (0.1ms)  SELECT sql
412
+ FROM sqlite_master
413
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
414
+ UNION ALL
415
+ SELECT sql
416
+ FROM sqlite_temp_master
417
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
418
+ 
419
+  (2.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
420
+  (0.1ms) select sqlite_version(*)
421
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
422
+  (0.8ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
423
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "news_source" varchar, "summary" text, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
424
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
425
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
426
+  (0.0ms) SELECT version FROM "schema_migrations"
427
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428144722')
428
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160428144721')
429
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
430
+  (4.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
431
+  (0.1ms) select sqlite_version(*)
432
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
433
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
434
+ Migrating to CreateContentBuilderRelateds (20160426205620)
435
+  (0.1ms) begin transaction
436
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
437
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
438
+  (0.8ms) commit transaction
439
+ Migrating to CreateContentBuilders (20160502123538)
440
+  (0.0ms) begin transaction
441
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
442
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160502123538"]]
443
+  (1.1ms) commit transaction
444
+ Migrating to CreateContentBuilderImages (20160502123539)
445
+  (0.0ms) begin transaction
446
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
447
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
448
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160502123539"]]
449
+  (0.9ms) commit transaction
450
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
451
+  (0.1ms)  SELECT sql
452
+ FROM sqlite_master
453
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
454
+ UNION ALL
455
+ SELECT sql
456
+ FROM sqlite_temp_master
457
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
458
+ 
459
+  (7.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
460
+  (0.1ms) select sqlite_version(*)
461
+  (0.9ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
462
+  (1.5ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
463
+  (0.9ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
464
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
465
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
466
+  (0.0ms) SELECT version FROM "schema_migrations"
467
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160502123539')
468
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160502123538')
469
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
470
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
471
+  (0.1ms) select sqlite_version(*)
472
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
473
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
474
+ Migrating to CreateContentBuilderRelateds (20160426205620)
475
+  (0.1ms) begin transaction
476
+  (0.3ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
477
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
478
+  (0.8ms) commit transaction
479
+ Migrating to CreateContentBuilders (20160713142319)
480
+  (0.1ms) begin transaction
481
+  (0.3ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
482
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142319"]]
483
+  (0.7ms) commit transaction
484
+ Migrating to CreateContentBuilderImages (20160713142320)
485
+  (0.1ms) begin transaction
486
+  (0.3ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
487
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
488
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142320"]]
489
+  (0.9ms) commit transaction
490
+ Migrating to CreateContentBuilderCategories (20160713142321)
491
+  (0.0ms) begin transaction
492
+  (0.2ms) ALTER TABLE "content_builders" ADD "content_builder_category_id" integer
493
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
494
+  (0.1ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
495
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142321"]]
496
+  (0.8ms) commit transaction
497
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
498
+  (0.1ms)  SELECT sql
499
+ FROM sqlite_master
500
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
501
+ UNION ALL
502
+ SELECT sql
503
+ FROM sqlite_temp_master
504
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
505
+ 
506
+  (0.1ms) SELECT sql
507
+ FROM sqlite_master
508
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
509
+ UNION ALL
510
+ SELECT sql
511
+ FROM sqlite_temp_master
512
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
513
+
514
+
515
+
516
+ Started GET "/" for 127.0.0.1 at 2016-07-13 10:27:10 -0400
517
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
518
+ Processing by Rails::WelcomeController#index as HTML
519
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (1.0ms)
520
+ Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
521
+
522
+
523
+ Started GET "/admin" for 127.0.0.1 at 2016-07-13 10:27:13 -0400
524
+ Processing by RailsAdmin::MainController#dashboard as HTML
525
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
526
+ RailsAdminContentBuilder::ContentBuilder Load (0.1ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.updated_at desc LIMIT 1
527
+  (0.1ms) SELECT COUNT(*) FROM "content_builder_categories"
528
+ RailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms) SELECT "content_builder_categories".* FROM "content_builder_categories" ORDER BY content_builder_categories.updated_at desc LIMIT 1
529
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/dashboard.html.haml within layouts/rails_admin/application (6.8ms)
530
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (1.9ms)
531
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_navigation.html.haml (4.3ms)
532
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_sidebar_navigation.html.haml (1.7ms)
533
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/pjax.html.haml (2.0ms)
534
+ Completed 200 OK in 3278ms (Views: 3149.5ms | ActiveRecord: 0.6ms)
535
+
536
+
537
+ Started GET "/assets/rails_admin/rails_admin.self-ea4795d73dc5c5e31b568ebd2ccf6b0437eaa95534a1a4a49d4acaf02492ef7e.css?body=1" for 127.0.0.1 at 2016-07-13 10:27:17 -0400
538
+
539
+
540
+ Started GET "/assets/rails_admin/jquery.remotipart.fixed.self-357a8f834a6b278f578acd51708542bff0852a75d8d583d0d761d3f387af5b4c.js?body=1" for 127.0.0.1 at 2016-07-13 10:27:17 -0400
541
+
542
+
543
+ Started GET "/assets/rails_admin/ra.nested-form-hooks.self-abecd3cd4d55ce44cbf00b87d2f612d570af5e7fe5701d05135d60f8c07e7d37.js?body=1" for 127.0.0.1 at 2016-07-13 10:27:17 -0400
544
+
545
+
546
+ Started GET "/assets/rails_admin/ra.filter-box.self-7a15aaeea6101fb1e648df5848917eddd01c5c193ffae1e121224ec7e96d8647.js?body=1" for 127.0.0.1 at 2016-07-13 10:27:17 -0400
547
+
548
+
549
+ Started GET "/assets/fontawesome-webfont-d3ebb498192527b985939ae62cc4e5eb5c108efc1896184126b45d866868e73d.woff2?v=4.6.1" for 127.0.0.1 at 2016-07-13 10:27:17 -0400
550
+
551
+
552
+ Started GET "/admin/rails_admin_content_builder~content_builder?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:27:20 -0400
553
+ Processing by RailsAdmin::MainController#index as HTML
554
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder"}
555
+ RailsAdminContentBuilder::ContentBuilder Load (0.2ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.id desc LIMIT 20 OFFSET 0
556
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
557
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/pjax (27.1ms)
558
+ Completed 200 OK in 47ms (Views: 32.5ms | ActiveRecord: 0.8ms)
559
+
560
+
561
+ Started GET "/admin/rails_admin_content_builder~content_builder/new?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:27:22 -0400
562
+ Processing by RailsAdmin::MainController#new as HTML
563
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder"}
564
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_field.html.haml (1.9ms)
565
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_datetime.html.haml (2.0ms)
566
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
567
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_submit_buttons.html.haml (3.1ms)
568
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/new.html.haml within layouts/rails_admin/pjax (22.9ms)
569
+ Completed 200 OK in 34ms (Views: 29.9ms | ActiveRecord: 0.0ms)
570
+
571
+
572
+ Started POST "/admin/rails_admin_content_builder~content_builder/new" for 127.0.0.1 at 2016-07-13 10:27:29 -0400
573
+ Processing by RailsAdmin::MainController#new as HTML
574
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"MdUdfo5Ip7lVRe3t2mqkB8kTn39tGf5qvSjCo0nFdloQQHeAojD6Y2SUswvs0RLZbxnl5waSDzhop+fbwO9k8g==", "rails_admin_content_builder_content_builder"=>{"title"=>"teste", "date_publish"=>"July 25, 2016 10:27", "written_by"=>"Luiz Picolo"}, "return_to"=>"http://localhost:3000/admin/rails_admin_content_builder~content_builder", "_save"=>"", "model_name"=>"rails_admin_content_builder~content_builder"}
575
+  (0.1ms) begin transaction
576
+ RailsAdminContentBuilder::ContentBuilder Exists (0.2ms) SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "teste"]]
577
+ SQL (0.2ms) INSERT INTO "content_builders" ("title", "date_publish", "written_by", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["title", "teste"], ["date_publish", "2016-07-25 10:27:00.000000"], ["written_by", "Luiz Picolo"], ["slug", "teste"], ["created_at", "2016-07-13 14:27:29.079160"], ["updated_at", "2016-07-13 14:27:29.079160"]]
578
+  (1.8ms) commit transaction
579
+ Redirected to http://localhost:3000/admin/rails_admin_content_builder~content_builder
580
+ Completed 302 Found in 23ms (ActiveRecord: 2.3ms)
581
+
582
+
583
+ Started GET "/admin/rails_admin_content_builder~content_builder" for 127.0.0.1 at 2016-07-13 10:27:29 -0400
584
+ Processing by RailsAdmin::MainController#index as HTML
585
+ Parameters: {"model_name"=>"rails_admin_content_builder~content_builder"}
586
+ RailsAdminContentBuilder::ContentBuilder Load (0.2ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.id desc LIMIT 20 OFFSET 0
587
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
588
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (15.6ms)
589
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (0.9ms)
590
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_navigation.html.haml (3.3ms)
591
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_sidebar_navigation.html.haml (1.4ms)
592
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/pjax.html.haml (3.8ms)
593
+ Completed 200 OK in 189ms (Views: 185.7ms | ActiveRecord: 0.3ms)
594
+
595
+
596
+ Started GET "/admin/rails_admin_content_builder~content_builder/1/delete?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:27:32 -0400
597
+ Processing by RailsAdmin::MainController#delete as HTML
598
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder", "id"=>"1"}
599
+ RailsAdminContentBuilder::ContentBuilder Load (0.2ms) SELECT "content_builders".* FROM "content_builders" WHERE "content_builders"."id" = ? ORDER BY "content_builders"."id" ASC LIMIT 1 [["id", 1]]
600
+ RailsAdminContentBuilder::ContentBuilderImage Load (0.1ms) SELECT "content_builder_images".* FROM "content_builder_images" WHERE "content_builder_images"."content_builder_id" = ? [["content_builder_id", 1]]
601
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_delete_notice.html.haml (18.8ms)
602
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/delete.html.haml within layouts/rails_admin/pjax (27.5ms)
603
+ Completed 200 OK in 41ms (Views: 35.2ms | ActiveRecord: 0.4ms)
604
+
605
+
606
+ Started DELETE "/admin/rails_admin_content_builder~content_builder/1/delete" for 127.0.0.1 at 2016-07-13 10:27:34 -0400
607
+ Processing by RailsAdmin::MainController#delete as HTML
608
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ifdLBBbptSHs2DfSv2JpGdrSmyzTSsCX19mXhj0qEhmoYiH6OpHo+90JaTSJ2d/HfNjhtLjBMcUCVrL+tAAAsQ==", "return_to"=>"http://localhost:3000/admin/rails_admin_content_builder~content_builder", "model_name"=>"rails_admin_content_builder~content_builder", "id"=>"1"}
609
+ RailsAdminContentBuilder::ContentBuilder Load (0.1ms) SELECT "content_builders".* FROM "content_builders" WHERE "content_builders"."id" = ? ORDER BY "content_builders"."id" ASC LIMIT 1 [["id", 1]]
610
+  (0.0ms) begin transaction
611
+ RailsAdminContentBuilder::ContentBuilderImage Load (0.0ms) SELECT "content_builder_images".* FROM "content_builder_images" WHERE "content_builder_images"."content_builder_id" = ? [["content_builder_id", 1]]
612
+ SQL (0.1ms) DELETE FROM "content_builders" WHERE "content_builders"."id" = ? [["id", 1]]
613
+  (1.8ms) commit transaction
614
+ Redirected to http://localhost:3000/admin/rails_admin_content_builder~content_builder
615
+ Completed 302 Found in 7ms (ActiveRecord: 2.0ms)
616
+
617
+
618
+ Started GET "/admin/rails_admin_content_builder~content_builder" for 127.0.0.1 at 2016-07-13 10:27:34 -0400
619
+ Processing by RailsAdmin::MainController#index as HTML
620
+ Parameters: {"model_name"=>"rails_admin_content_builder~content_builder"}
621
+ RailsAdminContentBuilder::ContentBuilder Load (0.1ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.id desc LIMIT 20 OFFSET 0
622
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
623
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (6.7ms)
624
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (0.6ms)
625
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_navigation.html.haml (1.6ms)
626
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_sidebar_navigation.html.haml (1.0ms)
627
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/pjax.html.haml (2.6ms)
628
+ Completed 200 OK in 119ms (Views: 116.0ms | ActiveRecord: 0.2ms)
629
+
630
+
631
+ Started GET "/admin/rails_admin_content_builder~content_builder" for 127.0.0.1 at 2016-07-13 10:30:46 -0400
632
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
633
+
634
+ ActiveRecord::PendingMigrationError (
635
+
636
+ Migrations are pending. To resolve this issue, run:
637
+
638
+ bin/rake db:migrate RAILS_ENV=development
639
+
640
+ ):
641
+ activerecord (4.2.6) lib/active_record/migration.rb:392:in `check_pending!'
642
+ activerecord (4.2.6) lib/active_record/migration.rb:373:in `call'
643
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
644
+ activesupport (4.2.6) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
645
+ activesupport (4.2.6) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
646
+ activesupport (4.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
647
+ actionpack (4.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
648
+ actionpack (4.2.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
649
+ actionpack (4.2.6) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
650
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
651
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
652
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
653
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
654
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
655
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
656
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
657
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
658
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
659
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
660
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
661
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
662
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
663
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
664
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
665
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
666
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
667
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
668
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
669
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
670
+ /home/w3case/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
671
+ /home/w3case/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
672
+ /home/w3case/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
673
+
674
+
675
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
676
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
677
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
678
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.0ms)
679
+  (2.1ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
680
+  (0.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
681
+  (0.1ms) select sqlite_version(*)
682
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
683
+  (0.7ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
684
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "content_builder_category_id" integer)
685
+  (0.7ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
686
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
687
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
688
+  (0.0ms) SELECT version FROM "schema_migrations"
689
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142321')
690
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
691
+  (0.8ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
692
+  (0.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
693
+  (0.0ms) select sqlite_version(*)
694
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
695
+  (0.8ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
696
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "content_builder_category_id" integer)
697
+  (0.7ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
698
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
699
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
700
+  (0.0ms) SELECT version FROM "schema_migrations"
701
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142321')
702
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
703
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
704
+  (7.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
705
+  (0.0ms) select sqlite_version(*)
706
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
707
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
708
+ Migrating to CreateContentBuilderRelateds (20160426205620)
709
+  (0.1ms) begin transaction
710
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
711
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
712
+  (0.9ms) commit transaction
713
+ Migrating to CreateContentBuilders (20160713142956)
714
+  (0.0ms) begin transaction
715
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
716
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142956"]]
717
+  (0.7ms) commit transaction
718
+ Migrating to CreateContentBuilderImages (20160713142957)
719
+  (0.0ms) begin transaction
720
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
721
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
722
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142957"]]
723
+  (0.7ms) commit transaction
724
+ Migrating to CreateContentBuilderCategories (20160713142958)
725
+  (0.0ms) begin transaction
726
+  (0.2ms) ALTER TABLE "content_builders" ADD "content_builder_category_id" integer
727
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
728
+  (0.1ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
729
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713142958"]]
730
+  (0.9ms) commit transaction
731
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
732
+  (0.1ms)  SELECT sql
733
+ FROM sqlite_master
734
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
735
+ UNION ALL
736
+ SELECT sql
737
+ FROM sqlite_temp_master
738
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
739
+ 
740
+  (0.1ms) SELECT sql
741
+ FROM sqlite_master
742
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
743
+ UNION ALL
744
+ SELECT sql
745
+ FROM sqlite_temp_master
746
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
747
+
748
+
749
+
750
+ Started GET "/" for 127.0.0.1 at 2016-07-13 10:31:32 -0400
751
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
752
+ Processing by Rails::WelcomeController#index as HTML
753
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/railties-4.2.6/lib/rails/templates/rails/welcome/index.html.erb (1.0ms)
754
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
755
+
756
+
757
+ Started GET "/admin" for 127.0.0.1 at 2016-07-13 10:31:36 -0400
758
+ Processing by RailsAdmin::MainController#dashboard as HTML
759
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
760
+ RailsAdminContentBuilder::ContentBuilder Load (0.2ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.updated_at desc LIMIT 1
761
+  (0.1ms) SELECT COUNT(*) FROM "content_builder_categories"
762
+ RailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms) SELECT "content_builder_categories".* FROM "content_builder_categories" ORDER BY content_builder_categories.updated_at desc LIMIT 1
763
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/dashboard.html.haml within layouts/rails_admin/application (7.2ms)
764
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.0ms)
765
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_navigation.html.haml (4.4ms)
766
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_sidebar_navigation.html.haml (1.8ms)
767
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/pjax.html.haml (2.4ms)
768
+ Completed 200 OK in 571ms (Views: 418.6ms | ActiveRecord: 0.7ms)
769
+
770
+
771
+ Started GET "/admin/rails_admin_content_builder~content_builder_category?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:31:40 -0400
772
+ Processing by RailsAdmin::MainController#index as HTML
773
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder_category"}
774
+ RailsAdminContentBuilder::ContentBuilderCategory Load (0.2ms) SELECT "content_builder_categories".* FROM "content_builder_categories" ORDER BY content_builder_categories.id desc LIMIT 20 OFFSET 0
775
+  (0.1ms) SELECT COUNT(*) FROM "content_builder_categories"
776
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/pjax (21.8ms)
777
+ Completed 200 OK in 37ms (Views: 29.4ms | ActiveRecord: 0.5ms)
778
+
779
+
780
+ Started GET "/admin/rails_admin_content_builder~content_builder_category/new?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:31:41 -0400
781
+ Processing by RailsAdmin::MainController#new as HTML
782
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder_category"}
783
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_field.html.haml (1.7ms)
784
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_submit_buttons.html.haml (2.7ms)
785
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/new.html.haml within layouts/rails_admin/pjax (15.1ms)
786
+ Completed 200 OK in 29ms (Views: 23.9ms | ActiveRecord: 0.0ms)
787
+
788
+
789
+ Started POST "/admin/rails_admin_content_builder~content_builder_category/new" for 127.0.0.1 at 2016-07-13 10:31:44 -0400
790
+ Processing by RailsAdmin::MainController#new as HTML
791
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"L5K2VyAh9X1FDKUO/haXgdUNDLyEdY+eeh0Q3U2E8l4OB9ypDFmop3Td++jIrSFfcwd2JO/+fsyvkjWlxK7g9g==", "rails_admin_content_builder_content_builder_category"=>{"title"=>"test"}, "return_to"=>"http://localhost:3000/admin/rails_admin_content_builder~content_builder_category", "_save"=>"", "model_name"=>"rails_admin_content_builder~content_builder_category"}
792
+  (0.1ms) begin transaction
793
+ RailsAdminContentBuilder::ContentBuilderCategory Exists (0.1ms) SELECT 1 AS one FROM "content_builder_categories" WHERE ("content_builder_categories"."id" IS NOT NULL) AND "content_builder_categories"."slug" = ? LIMIT 1 [["slug", "test"]]
794
+ SQL (0.2ms) INSERT INTO "content_builder_categories" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "test"], ["slug", "test"], ["created_at", "2016-07-13 14:31:44.460333"], ["updated_at", "2016-07-13 14:31:44.460333"]]
795
+  (0.8ms) commit transaction
796
+ Redirected to http://localhost:3000/admin/rails_admin_content_builder~content_builder_category
797
+ Completed 302 Found in 19ms (ActiveRecord: 1.2ms)
798
+
799
+
800
+ Started GET "/admin/rails_admin_content_builder~content_builder_category" for 127.0.0.1 at 2016-07-13 10:31:44 -0400
801
+ Processing by RailsAdmin::MainController#index as HTML
802
+ Parameters: {"model_name"=>"rails_admin_content_builder~content_builder_category"}
803
+ RailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms) SELECT "content_builder_categories".* FROM "content_builder_categories" ORDER BY content_builder_categories.id desc LIMIT 20 OFFSET 0
804
+  (0.1ms) SELECT COUNT(*) FROM "content_builder_categories"
805
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (7.9ms)
806
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (0.5ms)
807
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_navigation.html.haml (1.5ms)
808
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/_sidebar_navigation.html.haml (1.2ms)
809
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/layouts/rails_admin/pjax.html.haml (2.6ms)
810
+ Completed 200 OK in 101ms (Views: 97.1ms | ActiveRecord: 0.2ms)
811
+
812
+
813
+ Started GET "/admin/rails_admin_content_builder~content_builder?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:31:46 -0400
814
+ Processing by RailsAdmin::MainController#index as HTML
815
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder"}
816
+ RailsAdminContentBuilder::ContentBuilder Load (0.1ms) SELECT "content_builders".* FROM "content_builders" ORDER BY content_builders.id desc LIMIT 20 OFFSET 0
817
+  (0.1ms) SELECT COUNT(*) FROM "content_builders"
818
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/pjax (10.3ms)
819
+ Completed 200 OK in 28ms (Views: 15.5ms | ActiveRecord: 0.4ms)
820
+
821
+
822
+ Started GET "/admin/rails_admin_content_builder~content_builder/new?_pjax=%5Bdata-pjax-container%5D" for 127.0.0.1 at 2016-07-13 10:31:47 -0400
823
+ Processing by RailsAdmin::MainController#new as HTML
824
+ Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"rails_admin_content_builder~content_builder"}
825
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_field.html.haml (0.4ms)
826
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_datetime.html.haml (2.1ms)
827
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_field.html.haml (0.3ms)
828
+  (0.1ms) SELECT COUNT(*) FROM "content_builder_categories"
829
+ RailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms) SELECT "content_builder_categories".* FROM "content_builder_categories" ORDER BY content_builder_categories.id desc
830
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_form_filtering_select.html.haml (8.6ms)
831
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/_submit_buttons.html.haml (0.9ms)
832
+ Rendered /home/w3case/.rvm/gems/ruby-2.2.1@rails_admin_content_builder/gems/rails_admin-0.8.1/app/views/rails_admin/main/new.html.haml within layouts/rails_admin/pjax (27.8ms)
833
+ Completed 200 OK in 36ms (Views: 32.2ms | ActiveRecord: 0.2ms)
834
+  (4.0ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
835
+  (0.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
836
+  (0.1ms) select sqlite_version(*)
837
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
838
+  (0.8ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
839
+  (1.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "content_builder_category_id" integer)
840
+  (0.9ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
841
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
842
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
843
+  (0.1ms) SELECT version FROM "schema_migrations"
844
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142958')
845
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
846
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142957')
847
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142956')
848
+  (4.2ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
849
+  (0.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
850
+  (0.1ms) select sqlite_version(*)
851
+  (0.9ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
852
+  (0.9ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
853
+  (1.0ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "content_builder_category_id" integer)
854
+  (0.8ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
855
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
856
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
857
+  (0.0ms) SELECT version FROM "schema_migrations"
858
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142958')
859
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
860
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142957')
861
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142956')
862
+  (7.5ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
863
+  (1.4ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
864
+  (0.1ms) select sqlite_version(*)
865
+  (0.8ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
866
+  (0.7ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
867
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "content_builder_category_id" integer)
868
+  (0.8ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
869
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
870
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
871
+  (0.0ms) SELECT version FROM "schema_migrations"
872
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142958')
873
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
874
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142957')
875
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713142956')
876
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
877
+  (0.0ms) select sqlite_version(*)
878
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
879
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
880
+ Migrating to CreateContentBuilderRelateds (20160426205620)
881
+  (0.0ms) begin transaction
882
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
883
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
884
+  (1.0ms) commit transaction
885
+ Migrating to CreateContentBuilders (20160713185406)
886
+  (0.0ms) begin transaction
887
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
888
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185406"]]
889
+  (0.7ms) commit transaction
890
+ Migrating to CreateContentBuilderImages (20160713185407)
891
+  (0.0ms) begin transaction
892
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
893
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
894
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185407"]]
895
+  (0.8ms) commit transaction
896
+ Migrating to CreateContentBuilderCategories (20160713185408)
897
+  (0.0ms) begin transaction
898
+  (0.1ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
899
+  (0.1ms) CREATE INDEX "index_content_builder_categories_on_content_builder_id" ON "content_builder_categories" ("content_builder_id")
900
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185408"]]
901
+  (1.0ms) commit transaction
902
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
903
+  (0.1ms) SELECT sql
904
+ FROM sqlite_master
905
+ WHERE name='index_content_builder_categories_on_content_builder_id' AND type='index'
906
+ UNION ALL
907
+ SELECT sql
908
+ FROM sqlite_temp_master
909
+ WHERE name='index_content_builder_categories_on_content_builder_id' AND type='index'
910
+
911
+  (0.1ms)  SELECT sql
912
+ FROM sqlite_master
913
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
914
+ UNION ALL
915
+ SELECT sql
916
+ FROM sqlite_temp_master
917
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
918
+ 
919
+  (1.8ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
920
+  (0.1ms) select sqlite_version(*)
921
+  (1.0ms) CREATE INDEX "index_content_builder_categories_on_content_builder_id" ON "content_builder_categories" ("content_builder_id")
922
+  (0.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
923
+  (0.6ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
924
+  (0.9ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
925
+  (0.7ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
926
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
927
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
928
+  (0.0ms) SELECT version FROM "schema_migrations"
929
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185408')
930
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
931
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185407')
932
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185406')
933
+  (8.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
934
+  (0.1ms) select sqlite_version(*)
935
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
936
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
937
+ Migrating to CreateContentBuilderRelateds (20160426205620)
938
+  (0.0ms) begin transaction
939
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
940
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
941
+  (0.8ms) commit transaction
942
+ Migrating to CreateContentBuilders (20160713185613)
943
+  (0.0ms) begin transaction
944
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
945
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
946
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185613"]]
947
+  (0.8ms) commit transaction
948
+ Migrating to CreateContentBuilderImages (20160713185614)
949
+  (0.0ms) begin transaction
950
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
951
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
952
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185614"]]
953
+  (0.8ms) commit transaction
954
+ Migrating to CreateContentBuilderCategories (20160713185615)
955
+  (0.0ms) begin transaction
956
+  (0.2ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
957
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185615"]]
958
+  (0.8ms) commit transaction
959
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
960
+  (0.1ms) SELECT sql
961
+ FROM sqlite_master
962
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
963
+ UNION ALL
964
+ SELECT sql
965
+ FROM sqlite_temp_master
966
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
967
+
968
+  (0.1ms)  SELECT sql
969
+ FROM sqlite_master
970
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
971
+ UNION ALL
972
+ SELECT sql
973
+ FROM sqlite_temp_master
974
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
975
+ 
976
+  (4.2ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
977
+  (0.8ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
978
+  (0.1ms) select sqlite_version(*)
979
+  (1.0ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
980
+  (0.7ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
981
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
982
+  (0.7ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
983
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
984
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
985
+  (0.0ms) SELECT version FROM "schema_migrations"
986
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185615')
987
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185614')
988
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160426205620')
989
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185613')
990
+  (8.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
991
+  (0.1ms) select sqlite_version(*)
992
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
993
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
994
+ Migrating to CreateContentBuilderRelateds (20160426205620)
995
+  (0.0ms) begin transaction
996
+  (0.2ms) CREATE TABLE "content_builder_relateds" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_builder_id" integer, "content_builder_related_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
997
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160426205620"]]
998
+  (0.8ms) commit transaction
999
+ Migrating to CreateContentBuilderCategories (20160713185839)
1000
+  (0.0ms) begin transaction
1001
+  (0.1ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1002
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185839"]]
1003
+  (0.7ms) commit transaction
1004
+ Migrating to CreateContentBuilders (20160713185840)
1005
+  (0.0ms) begin transaction
1006
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1007
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1008
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185840"]]
1009
+  (0.8ms) commit transaction
1010
+ Migrating to CreateContentBuilderImages (20160713185841)
1011
+  (0.0ms) begin transaction
1012
+  (0.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1013
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1014
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185841"]]
1015
+  (1.1ms) commit transaction
1016
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1017
+  (0.1ms) SELECT sql
1018
+ FROM sqlite_master
1019
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1020
+ UNION ALL
1021
+ SELECT sql
1022
+ FROM sqlite_temp_master
1023
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1024
+
1025
+  (0.1ms)  SELECT sql
1026
+ FROM sqlite_master
1027
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1028
+ UNION ALL
1029
+ SELECT sql
1030
+ FROM sqlite_temp_master
1031
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1032
+ 
1033
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1034
+  (0.1ms) select sqlite_version(*)
1035
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1036
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1037
+ Migrating to CreateContentBuilderCategories (20160713185839)
1038
+  (0.1ms) begin transaction
1039
+  (0.3ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1040
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185839"]]
1041
+  (0.9ms) commit transaction
1042
+ Migrating to CreateContentBuilders (20160713185840)
1043
+  (0.1ms) begin transaction
1044
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1045
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1046
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185840"]]
1047
+  (0.9ms) commit transaction
1048
+ Migrating to CreateContentBuilderImages (20160713185841)
1049
+  (0.1ms) begin transaction
1050
+  (0.3ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1051
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1052
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713185841"]]
1053
+  (0.9ms) commit transaction
1054
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1055
+  (0.2ms) SELECT sql
1056
+ FROM sqlite_master
1057
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1058
+ UNION ALL
1059
+ SELECT sql
1060
+ FROM sqlite_temp_master
1061
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1062
+
1063
+  (0.2ms)  SELECT sql
1064
+ FROM sqlite_master
1065
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1066
+ UNION ALL
1067
+ SELECT sql
1068
+ FROM sqlite_temp_master
1069
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1070
+ 
1071
+  (7.4ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1072
+  (1.1ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1073
+  (0.2ms) select sqlite_version(*)
1074
+  (1.4ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1075
+  (1.1ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1076
+  (0.9ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1077
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1078
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1079
+  (0.2ms) SELECT version FROM "schema_migrations"
1080
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185841')
1081
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185840')
1082
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713185839')
1083
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1084
+  (0.1ms) select sqlite_version(*)
1085
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1086
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1087
+ Migrating to CreateContentBuilderCategories (20160713200214)
1088
+  (0.1ms) begin transaction
1089
+  (0.3ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1090
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200214"]]
1091
+  (0.8ms) commit transaction
1092
+ Migrating to CreateContentBuilders (20160713200215)
1093
+  (0.1ms) begin transaction
1094
+  (0.2ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1095
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1096
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200215"]]
1097
+  (1.0ms) commit transaction
1098
+ Migrating to CreateContentBuilderImages (20160713200216)
1099
+  (0.1ms) begin transaction
1100
+  (0.2ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1101
+  (0.1ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1102
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200216"]]
1103
+  (1.0ms) commit transaction
1104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1105
+  (0.1ms) SELECT sql
1106
+ FROM sqlite_master
1107
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1108
+ UNION ALL
1109
+ SELECT sql
1110
+ FROM sqlite_temp_master
1111
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1112
+
1113
+  (0.1ms)  SELECT sql
1114
+ FROM sqlite_master
1115
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1116
+ UNION ALL
1117
+ SELECT sql
1118
+ FROM sqlite_temp_master
1119
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1120
+ 
1121
+  (2.4ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1122
+  (0.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1123
+  (0.1ms) select sqlite_version(*)
1124
+  (0.9ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1125
+  (0.8ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1126
+  (0.7ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1127
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1128
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1129
+  (0.0ms) SELECT version FROM "schema_migrations"
1130
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200216')
1131
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200215')
1132
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200214')
1133
+  (6.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1134
+  (0.1ms) select sqlite_version(*)
1135
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1136
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1137
+ Migrating to CreateContentBuilderCategories (20160713200802)
1138
+  (0.1ms) begin transaction
1139
+  (0.2ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1140
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200802"]]
1141
+  (0.7ms) commit transaction
1142
+ Migrating to CreateContentBuilders (20160713200803)
1143
+  (0.0ms) begin transaction
1144
+  (0.5ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1145
+  (0.1ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1146
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200803"]]
1147
+  (0.9ms) commit transaction
1148
+ Migrating to CreateContentBuilderImages (20160713200804)
1149
+  (0.1ms) begin transaction
1150
+  (0.3ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1151
+  (0.2ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1152
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160713200804"]]
1153
+  (0.9ms) commit transaction
1154
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1155
+  (0.1ms) SELECT sql
1156
+ FROM sqlite_master
1157
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1158
+ UNION ALL
1159
+ SELECT sql
1160
+ FROM sqlite_temp_master
1161
+ WHERE name='index_content_builder_images_on_content_builder_id' AND type='index'
1162
+
1163
+  (0.1ms)  SELECT sql
1164
+ FROM sqlite_master
1165
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1166
+ UNION ALL
1167
+ SELECT sql
1168
+ FROM sqlite_temp_master
1169
+ WHERE name='index_content_builders_on_content_builder_category_id' AND type='index'
1170
+ 
1171
+  (8.6ms) CREATE TABLE "content_builder_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "slug" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1172
+  (0.7ms) CREATE TABLE "content_builder_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "content_builder_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1173
+  (0.1ms) select sqlite_version(*)
1174
+  (0.9ms) CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
1175
+  (1.0ms) CREATE TABLE "content_builders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "written_by" varchar, "date_publish" datetime, "content" text, "status" boolean DEFAULT 'f', "slug" varchar, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1176
+  (0.8ms) CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
1177
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1178
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1179
+  (0.0ms) SELECT version FROM "schema_migrations"
1180
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200804')
1181
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200803')
1182
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160713200802')