rails_admin_featured_content 1.0.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/locales/featured_content.en.yml +3 -3
- data/config/locales/featured_content.pt-BR.yml +3 -3
- data/lib/rails_admin_featured_content/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +16 -16
- data/spec/dummy/log/test.log +305 -35
- data/spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/thumb_example.jpg +0 -0
- data/spec/version_spec.rb +1 -1
- metadata +43 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f60d6a8880178237244ee05a43a7eeb22e90909
|
4
|
+
data.tar.gz: 074fd5760d7cd1d9b2a4d97956e1ad8bd49fcd57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071340dddcb40ecc0c8c6b7aa21d164222c7c2de23447375ea5096924e3b203e1960d8b4c36597d452c9b851391350610c995cf2f5f7ce5c579651ef552afbb9
|
7
|
+
data.tar.gz: 6cad2f55d8d16c7b8c7f69c1421f18c57145c6548595c562a76ed1876227a947d47dabcc40f417bc7b4ec00aeb82671dd53056e750662a9a4b34ccebe249a2b9
|
@@ -2,9 +2,9 @@ en:
|
|
2
2
|
admin:
|
3
3
|
actions:
|
4
4
|
featured_content:
|
5
|
-
title: "Create
|
6
|
-
menu: "Create
|
7
|
-
breadcrumb: "Create
|
5
|
+
title: "Create Featured Content"
|
6
|
+
menu: "Create Featured Content"
|
7
|
+
breadcrumb: "Create Featured Content"
|
8
8
|
delete_block: "Do you want to remove this content?"
|
9
9
|
success_save: "Successfully updated"
|
10
10
|
error_save: "Error updating"
|
@@ -2,9 +2,9 @@ pt-BR:
|
|
2
2
|
admin:
|
3
3
|
actions:
|
4
4
|
featured_content:
|
5
|
-
title: "Criar
|
6
|
-
menu: "Criar
|
7
|
-
breadcrumb: "Criar
|
5
|
+
title: "Criar Destaque"
|
6
|
+
menu: "Criar Destaque"
|
7
|
+
breadcrumb: "Criar Destaque"
|
8
8
|
delete_block: "Deseja mesmo remover esse conteúdo?"
|
9
9
|
success_save: "Atualizado com sucesso"
|
10
10
|
error_save: "Erro ao atualizar"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,17 +1,17 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (6.8ms)[0m [1mCREATE 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) [0m
|
2
|
+
[1m[35m (0.8ms)[0m 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)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (1.
|
5
|
-
[1m[36m (
|
6
|
-
[1m[35m (
|
7
|
-
[1m[36m (0.
|
8
|
-
[1m[35m (
|
9
|
-
[1m[36m (
|
10
|
-
[1m[35m (
|
11
|
-
[1m[36m (
|
12
|
-
[1m[35m (0.
|
13
|
-
[1m[36m (
|
14
|
-
[1m[35m (
|
15
|
-
[1m[36m (
|
16
|
-
[1m[35m (
|
17
|
-
[1m[36m (
|
4
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_content_builder_images_on_content_builder_id" ON "content_builder_images" ("content_builder_id")
|
5
|
+
[1m[36m (0.7ms)[0m [1mCREATE 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, "summary" text, "content_builder_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_content_builders_on_content_builder_category_id" ON "content_builders" ("content_builder_category_id")
|
7
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "featured_content_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar, "featured_content_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_featured_content_images_on_featured_content_id" ON "featured_content_images" ("featured_content_id")
|
9
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "featured_contents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "status" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
10
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
11
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
12
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
13
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160729105948')[0m
|
14
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160729105803')
|
15
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160729105947')[0m
|
16
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160729105802')
|
17
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160729105801')[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,62 +1,332 @@
|
|
1
|
-
[1m[36m (
|
1
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2
2
|
[1m[35m (0.1ms)[0m rollback transaction
|
3
|
-
[1m[36m (0.
|
4
|
-
[1m[35m (0.
|
5
|
-
[1m[36m (0.
|
3
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6
8
|
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
-
[1m[36m (0.
|
9
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
29
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "6uaiipc5g5ywxbmqe4fcwavdv6stjxwqdjagzqpwcf5i2akj53et1wgiuingn8gcovebl6f831e8bqxrzuh0wi7hb48c78ylul3c0ihvkpnhvm4s8e6frshanad5o9j1ruhpd47n3wnxjzbag1lap5cdjn7wnc61jsyhg3id4m0uqb98yvvjq4stged74zqalqf21o8bzy7xvdi2v1f3bl7myki21z5ql7x14647yg3wrguihi5q7aljoh1gwpb"], ["content", ""], ["created_at", "2016-10-26 16:45:59.799733"], ["updated_at", "2016-10-26 16:45:59.799733"]]
|
30
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
32
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000005add0e0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-7050-1hja4hk>>, "id"=>"1"}
|
33
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
34
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 16:45:59.877540"], ["updated_at", "2016-10-26 16:45:59.877540"]]
|
36
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
38
|
+
Completed 200 OK in 75ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
39
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "7s9tin6e2yoo1x7qyrws9oqykw2ums5h1bbgyjxj3scjlhmngkmg9s7wwqpfk24wdzwbi3jpm2ptqu1bqzlx6acatjh99vf03056lrhlto4knojm2exmxkdzscvgr7f7ckbvuvv0lk5pb2i3bo2ub43x5oxmyu234cojt1s0htqqt9whelilxqqhec0ftt0p1cq8fty0kzdb2wsisfxmd4prqqto2rnu70m7izmdyqgcus8xbt2rz8bszqwwo70"], ["content", ""], ["created_at", "2016-10-26 16:45:59.882019"], ["updated_at", "2016-10-26 16:45:59.882019"]]
|
43
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "qmgdnq8wpon9tazmojt31rec6mjbkp8kg8dsrttq2lpm0qswzwperronyteqh67o3rf8dipo05tamarzrwkjd9429ybhxven6tzrfm6l1acgeappboxzguo9b3nzxenlffibgfceoe4flkdw0jqcwqzlftpulniavuofywrawr2oz79pq5vg4qlj4doo0xez8ygr5aw7jct5iqxa7xeuof7vfpvxv41dss8qtmfxotloi9hjzpcf1omh5dxyxh8"]]
|
46
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
47
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
48
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
49
|
+
Parameters: {"term"=>"qmgdnq8wpon9taz", "id"=>"1"}
|
50
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.1ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%qmgdnq8wpon9taz%') ORDER BY date_publish desc LIMIT 10[0m
|
51
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
52
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
55
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "1iek2ea2kxenz8d8qhdr3vl2mb5a8fxnidpk30i1rhc4t9d2mcldq4x6ahkdefw7rnh61tns6kd6211ptu9qiu03hcj6cgcp5fv9mqognhyseeqj3hl48ti7szw1rpkdy63duv5gyz0rgwfkxvctmb19ivbd9j17i6xshr0jsoi7fsqcf7k2lq69lhlzwjfo2hkfnmokm6zm70d3tov79cvtun72or6vwjye7m0h638bub5zad9wv5x1uyvelgf"], ["content", ""], ["created_at", "2016-10-26 16:53:24.948687"], ["updated_at", "2016-10-26 16:53:24.948687"]]
|
56
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
57
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
58
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.3ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "pynz1etqb9un3zyjw9vol3p03wf877ehapzzorxzmv4knocxl8e6s90x8gswqi6iz547fnhy4x8myfuzv1qsb2r2t0pyc0rbg460rlf57sveqrzvvvmif090avk5gmbr2h4yaj69okd6it1t20eiob4u3kx8i33vw3owxx3vqnk798dg9rg9xsxxlewkyugynijryo67xsncn35xqvt98ctrr6t409vofm4zs22ln6xikknazq2lbwie6n9cg01"]]
|
59
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
60
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
61
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
62
|
+
Parameters: {"term"=>"pynz1etqb9un3zy", "id"=>"1"}
|
63
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.1ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%pynz1etqb9un3zy%') ORDER BY date_publish desc LIMIT 10[0m
|
64
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
65
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8
67
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9
|
-
[1m[36mSQL (0.
|
68
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "5m9p83kl1zoep7250w6l6271c2z9znjwf0yg565ajqssadznlopazo52bt9t67bj7a6ajkxbllme3fhcqb4eh4tdxsm7mfb1otqd0ylujaiahx7nnvo0eltpbjvt9uun05da2911o9re1v18cubs2lqbb8xxt7t372xv35iwhaiijgoq1optjzpb1q04us1vbi3dh1pb8xtww97cvthz01mmaupalk26m5s8enypftcea088ko3fl0zudkrwrrf"], ["content", ""], ["created_at", "2016-10-26 16:53:25.294661"], ["updated_at", "2016-10-26 16:53:25.294661"]]
|
69
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
70
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
71
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x0000000317ba30 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-21065-10y9zqp>>, "id"=>"1"}
|
72
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
73
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
74
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 16:53:25.422045"], ["updated_at", "2016-10-26 16:53:25.422045"]]
|
10
75
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
77
|
+
Completed 200 OK in 127ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
78
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
79
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
80
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
82
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
83
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "99v59ytmyfuqde25pv0nz0erp30ixk6lhvulp9rxdxhhvku9qv5d8e4jgjgt2u3i5akmo2swvos85evntt4qz8q7gkkn32ux94t8se5e5jm4t2okdea3smxrlv3s80c1d2l2zbf8w4ifvsqvto09ygd68gvw1ltnr1entr82bmv2bldo81agq9fb0jdxb96ixxr165rbmej60l1rsoezly0fo4dikl3uws134x3fpw58cx7osxr3gj8va6f4ncu"], ["content", ""], ["created_at", "2016-10-26 17:02:47.934825"], ["updated_at", "2016-10-26 17:02:47.934825"]]
|
84
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
86
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000006a2fa48 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-22255-1gh0426>>, "id"=>"1"}
|
87
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
88
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
89
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:02:48.010436"], ["updated_at", "2016-10-26 17:02:48.010436"]]
|
90
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
91
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
92
|
+
Completed 200 OK in 73ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
93
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
94
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
96
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "y7ih549jux0hmnfc30kzawuxyd5hjt2243d5fsgot4cris2gmbdksp049mkef2spidf6vtwaxvxb7as4mxyf62uea7ch3tdefy0k7xb76ix4aea36y36z0txtwtlchnaeyhzffim5e6ygaoxkdvkl5tsrg5rw758l5upc2125oxtpijcn8x0s5qhzg9ofag3viyi5t1cpnuhq4brqjpxd4v26mlx53jhj2puvwaartt5r04t2899xe0lqv3mq0j"], ["content", ""], ["created_at", "2016-10-26 17:02:48.015495"], ["updated_at", "2016-10-26 17:02:48.015495"]]
|
97
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
98
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
99
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "ivc21xhd7mejrim2wwe8hn7x6bd9gci122y3svwgzetkhldm5xniv6z1904wbdqtvf2mv92u7ovlole6e49mt0jegvqqewtfnim9rfmr5c4obkv31j3zq25r92ljnna3iyn83wabvbbene50v4lkz0yco4d9qenc6xplg2ktr8l736yhez80e896231di3993uzr3ij2hi8x1uxwgv7knqwfdod22m6yyb9hun3pvr39pb4bnbomxdamzu7ngj9"]]
|
100
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
101
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
102
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
103
|
+
Parameters: {"term"=>"ivc21xhd7mejrim", "id"=>"1"}
|
104
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%ivc21xhd7mejrim%') ORDER BY date_publish desc LIMIT 10[0m
|
105
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
107
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
108
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
109
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
111
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "g70kmnxgh0qacfkcno6tdu6yf6ru0cvrfptzkyw8b7tornmzs2osq8ij1k3yerxubon28n4skasg7smlb1ygpvge349vrg6z8degy4xzwss1t0l9sim1s4suwt9d73fh3q9su8jlnfrkqkn2p13rfmazhj3tdlvanm75542y7k66obx9wh13lmn4d0exn6k9myxi2f18a0v096ag47dis4i3gb9rcf4nmsjr7v0tnm4ubx3yjuazz19zixagawf"], ["content", ""], ["created_at", "2016-10-26 17:03:09.241853"], ["updated_at", "2016-10-26 17:03:09.241853"]]
|
112
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11
113
|
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
12
|
-
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:
|
114
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000000b27fa0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-22300-gdi55f>>, "id"=>"1"}
|
115
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
117
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:03:09.326265"], ["updated_at", "2016-10-26 17:03:09.326265"]]
|
118
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
119
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
120
|
+
Completed 200 OK in 82ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "1fmtv8c7s4zyp86ax0zdo8qw97g5meb1x0w6xzp51q3150ix8zlhhq8iij0e0w8qqg07vloapru0ti8myf7bo1b3ivkvr6yti9ttc4w2cjx7zpcflpxf7mxkhj07c912r0p2pt63oyr9yan3duvavy74eg0g5jo178e3gq04sbiw53368a1jup1tzkryni77iu9oh0pcp61qn10irkcg4770pcgetivta4zuzwfdrjjjwxjdht89uiy10xwnv3c"], ["content", ""], ["created_at", "2016-10-26 17:03:09.331726"], ["updated_at", "2016-10-26 17:03:09.331726"]]
|
125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
127
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "w10y0c91jvajzrx4qidhpield6et1z2metfwxhex5qo5rd1hu7zspnltxr4fuars9nhuy4txouapiurlwyix0fh5eanzw8sqneyu71wg9j8aq41kwwo1f962orf3r4k6dmz3hmxe3ak2ic65e1hlu8wivtah0nab4dfgf35hw3yc3vc2b6ypa6qxszsvhkukuwhlkfyv6yjbzyr9ciav121nxhmgtr32fosa1bm6ay8bw3qr3449omv93ey2wn5"]]
|
128
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
129
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
130
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
131
|
+
Parameters: {"term"=>"w10y0c91jvajzrx", "id"=>"1"}
|
132
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%w10y0c91jvajzrx%') ORDER BY date_publish desc LIMIT 10[0m
|
133
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
134
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
137
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
138
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "2ce1y4alna922nw6ojbb2dehabgiaqoir3y22yqq1m839i5sj6b2374ng7k4ahaf5osqsxecynu3r1rs5mwah127smgzgmt4y774ab86ic344c9qd4x229gs9x1fmadpn3ttn0e0zy4v7catollf3wurz1b028z6kes7czj3n7ajfodtbh9waq1q3sx1fxjr3oen6u73tdi7nto1tiul572yor6xqtdveeevdx5108e0gi1rfvgdijhekgfwma0"], ["content", ""], ["created_at", "2016-10-26 17:11:24.483215"], ["updated_at", "2016-10-26 17:11:24.483215"]]
|
140
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
141
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
142
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x0000000249c5d0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-22739-3vtssz>>, "id"=>"1"}
|
13
143
|
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.2ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
14
|
-
[1m[35m (0.
|
15
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-
|
144
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
145
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:11:24.567124"], ["updated_at", "2016-10-26 17:11:24.567124"]]
|
146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
147
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.2ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
148
|
+
Completed 200 OK in 81ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
152
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "01emjiwlvpx80p4rdtp40x3n15aenb8v0qg6htp75lwbd4qh2w8x05lmimx2k9gbmdxekn3b4inzvqltb91iekgq4f27fovhalf8n5qm4xxtev30objfccfwvx97cmgvnc66n5lnxqyn8oa4thnemwdmbjddlf1iv6bff3o7e7gwr4t0d2hyc5eiojd7q8eohld1o5hczsfa5liakr67hmp6sbmbzg5galz64qte4hv04t904ufe1k8ob9lydpa"], ["content", ""], ["created_at", "2016-10-26 17:11:24.573121"], ["updated_at", "2016-10-26 17:11:24.573121"]]
|
153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
154
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
155
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "ekzwal3cdsvny6tj2nrd6lw8ung3unslub21pq79f11dttyxnkzislu7rsgj8tpacsws4kgamd5btf7h261gf16tdctumls3wds9mpnxt63bzfz5r3j6c601a34mrjk9vfnaf0801j5sgf5g6k9x75vn39xdyw3tcuolgmh8dg6safuc0gwb0eq3pqrzngqs758n58dtql5o8j54o9mfz0f5ru2cq9f8oq4ga0axm1ralp20aggkaqj0ecjdxwv"]]
|
156
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
157
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
158
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
159
|
+
Parameters: {"term"=>"ekzwal3cdsvny6t", "id"=>"1"}
|
160
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%ekzwal3cdsvny6t%') ORDER BY date_publish desc LIMIT 10[0m
|
161
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
162
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
164
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
165
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
167
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "gv2dk8t34f782w7r8s01bv76u3t8v1spc4l73ehiwmsbevp7gjc841oxh4yy50gm30z7xxbmncztn5sf09kqom180zsfxz6l6owmw50x2spjc9tdesh30navs19kpc4fv7i08c7uzh042mld11nia8244oo9gprqnmuduwpuya2yemsvkpv3liuijzmc5qoyl68f5uaeb6z0l0afghz9ol54ez7nyyi8vv63wvzk0rpy2gg7qm24azb66nx3r0m"], ["content", ""], ["created_at", "2016-10-26 17:15:13.045076"], ["updated_at", "2016-10-26 17:15:13.045076"]]
|
168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
169
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
170
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x0000000237b7a0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-22957-1rulnc8>>, "id"=>"1"}
|
171
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
173
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:15:13.130604"], ["updated_at", "2016-10-26 17:15:13.130604"]]
|
16
174
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
17
175
|
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
18
|
-
Completed 200 OK in
|
19
|
-
[1m[35m (0.
|
176
|
+
Completed 200 OK in 84ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
177
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
180
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "r0ein8159kr7fexcadhavsskc3z9jbsh860xn7esawkwu81yhs8roeobjnp7u2roxz2zpjfny2ytlu21a6ipkw60cymfqhhi00ct0c5ol4yv5wkh0n3310xir1b0im5c3w28lfcq6filhdq6w1k4h9nmod4veyni199llyewpxcuph7vdmxkaufgn9emt8wb74grbcsjx81gw55zo7a0xwsw1hzksnefwdnt4mr86pc33ptm21tw670ilmmpbzb"], ["content", ""], ["created_at", "2016-10-26 17:15:13.137144"], ["updated_at", "2016-10-26 17:15:13.137144"]]
|
181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
183
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "u2zzhnxllqqbbmu3qyqa4vt4vdkcckptgu7r5duxldf8r7g8rxv4os3s3i44jjpyps29axwmuwxwk60x0asv1tf6zxlhgzypklbay1ez0jnjnd2hwwe6hpzpeh723sbc06zdendepqalm5pqr06f0jvovw8kokariudiw369nnzq1yzt35hylbh9kvitrnqswdunrh72wni7ejzjv2cu98tlnw3rqtg0hv0v4cf6lfmkt27uc5k50smalnzzsyd"]]
|
184
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
185
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
186
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
187
|
+
Parameters: {"term"=>"u2zzhnxllqqbbmu", "id"=>"1"}
|
188
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%u2zzhnxllqqbbmu%') ORDER BY date_publish desc LIMIT 10[0m
|
189
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
193
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
195
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "mlje9rp8wotdlr6ifzmjws2vfiv7jfqnnhi8fwulyoitqvgl5k03yxyk6uvgk9s1n0fwvpps01mxvc0td5a3y0xp7wsyiixf4viir8rik9dycmaf5t0wnilag8wsk9m6uhvohageee3go27pg5a16f1yc7yw63r321b9n2ry2iydmscz9fpvbhlexyp9ky0wka6qhbokq6c4ef6yobw9vhiuj78dr2nbgf2e5t38kgj2fn4vcymhvfcftjy4nw0"], ["content", ""], ["created_at", "2016-10-26 17:19:40.872399"], ["updated_at", "2016-10-26 17:19:40.872399"]]
|
196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
197
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
198
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x000000055546f0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-23438-1df1xdf>>, "id"=>"1"}
|
199
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
201
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:19:40.945500"], ["updated_at", "2016-10-26 17:19:40.945500"]]
|
202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
204
|
+
Completed 200 OK in 71ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
205
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
208
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "yl9x8jg1li3c7h38h5uo9siywd6rkvzzjjhkgtysbsj3bpwxj85sx41zq4bd11kwhovw5ablqtu8jf6wb7z75utt5hc2raaaqsl93tfciltlgg2bjau2jp4ip30cgt094fj1phcf5lbih9f43v3yaqyka9kq6hw8pus9sbwh2zx0b58y86i54wokrt3nbctppoie1hbdothi6krnq1um1pv7jspw3p9vraqypf9fih9l5euojhypea3vydg24vn"], ["content", ""], ["created_at", "2016-10-26 17:19:40.950457"], ["updated_at", "2016-10-26 17:19:40.950457"]]
|
209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
211
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.2ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "37ysg4kwfuw910jadqedpnj0ii1hz0981cu8z69shzqf6lf79jedrpwpdhu6b8lbx7crbea1309jm12u8cpre9bz6x4u01qf7wxgx6nyq90cmp9uzs9keizakwqowl7ulxmf009koumy8gi0vg2wp7mfe1np5v9fjed6u144t6kdxdbtu742xphxrakbwgv3mp38ogjjzreba2341c73pqsrtw8i2xxoednmr5jii3islbhcpn3mnhow72hm24k"]]
|
212
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
213
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
214
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
215
|
+
Parameters: {"term"=>"37ysg4kwfuw910j", "id"=>"1"}
|
216
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%37ysg4kwfuw910j%') ORDER BY date_publish desc LIMIT 10[0m
|
217
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20
219
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21
|
-
[1m[35m (0.
|
22
|
-
[1m[
|
23
|
-
[1m[35m (0.
|
220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
222
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
223
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "py62u9j0zsdoj9n4z3vas1d31dhijae1sue7utbukkqqik2seqfj227f1qmmcw35wxvb9hlal9inibfbj2j2qqorv8cgfo29cr1p7tdtkablq59046ehliz2c7stgsmyfjt62jcyvvvhnvxiyjkdkkkgd0i7yxbqhbyrhv5a0g59kjd0l9juoqp6py7gns6dj02ovy4dt02aizjopx6qo167ud1ma7fhn6880a8oul1purpmk60hq3vojeyv37f"], ["content", ""], ["created_at", "2016-10-26 17:27:38.787617"], ["updated_at", "2016-10-26 17:27:38.787617"]]
|
224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
225
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
226
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x000000066c6640 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-23790-1xwl5zl>>, "id"=>"1"}
|
227
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
229
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:27:38.860785"], ["updated_at", "2016-10-26 17:27:38.860785"]]
|
230
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
231
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
232
|
+
Completed 200 OK in 71ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
236
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "xbc1ocerqi9j2ofpa0x8qsvzqv7xanwxn4mnryyzst1ba2sd428vdl02nv8hj6xqk7nvvz5b7ldjdqetk1slil6ics5ozzfjc2gxwpxwz39ppufw82jjih4chypcobx6gkjbhxyd5v9ptya01aancvgi221a3vnngsuubkm7hvz75lf910oudlh9e2j24dxdsop6za9spenlxz2wb1gdwbdk0ja2stdd79a8gbtr5vrcuw8i1sead1vuzeiwm0p"], ["content", ""], ["created_at", "2016-10-26 17:27:38.865778"], ["updated_at", "2016-10-26 17:27:38.865778"]]
|
237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
24
238
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
25
|
-
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.2ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "
|
239
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.2ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "b4kvuxgncb8s82m1iiwg4ain4gt861xrlge78zwym796ee9c3pic22bh6t24r99c12n45zl29qy1zifzflklj9gjgqvbpyxrb0c6nh62g8fdnp17p6p4wmm4rcls868vtz9hpuxrqtoyresdruju332reriv3gkjq4oqy3vjzxmw91727c0ehss5hqdt76mqyemg32v2klqbkthj10bh2wsaw5fvo8283xxnayotz4euiw4z5oda5qekkko0e3z"]]
|
26
240
|
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
27
|
-
[1m[35m (0.
|
241
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
28
242
|
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
29
|
-
Parameters: {"term"=>"
|
30
|
-
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.
|
31
|
-
Completed 200 OK in
|
32
|
-
[1m[35m (0.
|
243
|
+
Parameters: {"term"=>"b4kvuxgncb8s82m", "id"=>"1"}
|
244
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.1ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%b4kvuxgncb8s82m%') ORDER BY date_publish desc LIMIT 10[0m
|
245
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
246
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33
247
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
248
|
[1m[35m (0.0ms)[0m rollback transaction
|
35
|
-
[1m[36m (0.
|
249
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
250
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
253
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "ykhuvhw0clxawf6vg5hk1q9y9poa8oqudsc15cj5rs68p3gc8mjw6pcmd72uxfoz5rjhnlq8397d9blat8q02isv2mihf6gmzaf9b9vnczpklk9a7pnuiwh1fmx08wafz43koc00t0jgdmc5m18wh61du4w63kuk1zvauc5k9qlmvwqv325km6skcj98rrcxsz5hviznwklkwz0951sfp69q515y347pgdo9sz8xh6nm4lz16ly0bjv1cn6po9m"], ["content", ""], ["created_at", "2016-10-26 17:28:05.197756"], ["updated_at", "2016-10-26 17:28:05.197756"]]
|
254
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
255
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
256
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "oi5vif2ggtusy2ldsotndf7sr80tk7jlz7lvmxbh8kwg220d1f62gksy5czo7htfsi1kkrr5xjo5ywv4unfymwzi28sywscii037nb1gbh9bejbkz0i1zm6t8fqvx1szm3bth7goufn8g2z6yj1pn846bxgrbnw1j2bdrdp8geyv98e8wzg02nfzg7smpfcpczq1rydt4eyxzjsnkj6vse3oyprdku8wdf4r3pyfuwzblex78u3419cvny329of"]]
|
257
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
258
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
259
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
260
|
+
Parameters: {"term"=>"oi5vif2ggtusy2l", "id"=>"1"}
|
261
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%oi5vif2ggtusy2l%') ORDER BY date_publish desc LIMIT 10[0m
|
262
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
36
263
|
[1m[35m (0.1ms)[0m rollback transaction
|
37
264
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38
|
-
[1m[35m (0.
|
39
|
-
[1m[36mSQL (0.
|
265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
266
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "r5fhvm0ch7zwxcs21yaohxz0z6i6gy8ksok9i0h0x1ijntntpt7h92lbp74jexsliqnj3uq9zj5yta3k8nmkk81xrgimtn5hyejw2hf3xfj4efxj5kt6sd938fg7u2vth6li004x02ef1t309saloin1uy170jglvyr6f42shcvo328r6mageyt4ydbzjq8s22lqdf1u476etko1d10oachjgj4d1mmls3hc4t9y4t4hwcprcf8uwufjlskwcfm"], ["content", ""], ["created_at", "2016-10-26 17:28:05.518202"], ["updated_at", "2016-10-26 17:28:05.518202"]]
|
40
267
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41
268
|
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
42
|
-
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:
|
269
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000001820cc0 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161026-23864-1fzkiq0>>, "id"=>"1"}
|
43
270
|
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
44
271
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-
|
46
|
-
[1m[35m (0.
|
272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-10-26 17:28:05.584669"], ["updated_at", "2016-10-26 17:28:05.584669"]]
|
273
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
47
274
|
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
48
|
-
Completed 200 OK in
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36m (0.
|
275
|
+
Completed 200 OK in 67ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
277
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
51
280
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
52
|
-
[1m[36mSQL (0.
|
281
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "pylcl0rho630rlj3x5fs0ifpqwoajmoh5eew5lw2wd1ios4mv3u11i20535fvvgsdj7la7276u2g64qwo9xldcz12i23syol6wjdrrcq5ekjb41ageowpfk5vyuxtm83jqk9pyx54fd2w5vvscjr47za11jdz6jvubrcaty6hkzf7wvt1pc85x3uyin4hqxsp30eo507amm1du17t5uhy348exuw45co2kwmn5ewiuv8vgvwiz6xuv5y590fzhi"], ["content", ""], ["created_at", "2016-12-08 10:25:23.093172"], ["updated_at", "2016-12-08 10:25:23.093172"]]
|
282
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
283
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
284
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "cazht99vcb06e5gfiw7hhmqcd578vxeodwwtsjr3e07us2eij7twjxyrkng9gu2bzlcwqpjetmodpq4cjna6tv0oc7l2gky3c0l1qito73awek0j54e0gm0jrq2qxb5v9lj9euiuwtbjbhc1nyuoaelx9eu5a1oywudt8rgvqg5efkuxvaw1hwhu18ccpnp96pnx1x72af1lx6xch5jb9ty8ebfnpenzwzrt26vlo2l5nm930cvl3pnwjbrh3ls"]]
|
285
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
286
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
287
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
288
|
+
Parameters: {"term"=>"cazht99vcb06e5g", "id"=>"1"}
|
289
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%cazht99vcb06e5g%') ORDER BY date_publish desc LIMIT 10[0m
|
290
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
291
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "9t7kcttt9zqt8kwot6ac9w5ivzrl5eozg7u5p5wbjpasou81mqg72k4xdjb3fa6dg46b5ijqkkpk1t2mwaz9kdu5c44h90mn1n1pbemdfk2zcggzwv5zpb6xib6jtrabo5kvht1a2aiqyone4sq0smhus6qj5k3eq5ds94km3uc4qt1n5cyhdf0kflkizfyb95663n07v1hxy6pjcnjzwt12ygefjsvgl1s5d7kv00f4siff2nu2me2jjapa6zm"], ["content", ""], ["created_at", "2016-12-08 10:25:23.453855"], ["updated_at", "2016-12-08 10:25:23.453855"]]
|
295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
297
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000006947590 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161208-8282-1j95alq>>, "id"=>"1"}
|
298
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.1ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
300
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-12-08 10:25:23.566096"], ["updated_at", "2016-12-08 10:25:23.566096"]]
|
301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
302
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
303
|
+
Completed 200 OK in 96ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
304
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
305
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
306
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
308
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
309
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "xphpejaiy6d4jc1xkhrjnn7c9zkvgynrk5at676m4uj80eytplfyxftnlbe4f9ygme2k9qn4hit5ag8s5roi2ffq3u7112p5nehav9d1shxb01lm3xrol6jkwejn9fuuujaa7obl4r57g8du42v08fhl0epe6gcbnwmbpopwdwtnv0cduxi1te9bfvzr7cjav3yo6b43zfcxj441ppmechlgeo1j58kz631f8ckrx59bw0vx4vs5fb8mb2vwewr"], ["content", ""], ["created_at", "2016-12-21 13:57:59.328943"], ["updated_at", "2016-12-21 13:57:59.328943"]]
|
310
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
311
|
+
Processing by RailsAdminFeaturedContent::FeaturedContentController#create_images as HTML
|
312
|
+
Parameters: {"featured_content_image"=>#<Rack::Test::UploadedFile:0x00000006286288 @content_type="text/plain", @original_filename="example.jpg", @tempfile=#<Tempfile:/tmp/example.jpg20161221-23312-14qj0w1>>, "id"=>"1"}
|
313
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContent Load (0.2ms)[0m [1mSELECT "featured_contents".* FROM "featured_contents" WHERE "featured_contents"."id" = ? LIMIT 1[0m [["id", 1]]
|
314
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
315
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "featured_content_images" ("image", "featured_content_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["image", "example.jpg"], ["featured_content_id", 1], ["created_at", "2016-12-21 13:57:59.413316"], ["updated_at", "2016-12-21 13:57:59.413316"]]
|
316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
317
|
+
[1m[36mRailsAdminFeaturedContent::FeaturedContentImage Load (0.1ms)[0m [1mSELECT "featured_content_images".* FROM "featured_content_images" WHERE "featured_content_images"."id" = ? LIMIT 1[0m [["id", 1]]
|
318
|
+
Completed 200 OK in 81ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
322
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "featured_contents" ("title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "jwbd0n4zv7luk5kpmvdhxsds2m1en0ow0urb6ilfb18jlssmef9qemaec89l3ax24r2vkmlkfnln719ktgu8au8jvexmrdp9r97idlwjmppt1xptxuwp79mynl9szh93l5dzmiewpf2lutodp5mevcl6xq3f0fokhiviny8nrcmdd92uffa6ktlidr2k4yrg6okj1tlr3bhwe3c5fjbr39vfsbcmguqd0a9rqg4y9tz173gaganc1uoaka2q9pe"], ["content", ""], ["created_at", "2016-12-21 13:57:59.417773"], ["updated_at", "2016-12-21 13:57:59.417773"]]
|
53
323
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
54
324
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
55
|
-
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.
|
325
|
+
[1m[35mRailsAdminContentBuilder::ContentBuilder Exists (0.1ms)[0m SELECT 1 AS one FROM "content_builders" WHERE ("content_builders"."id" IS NOT NULL) AND "content_builders"."slug" = ? LIMIT 1 [["slug", "f9syuzwh9wflpjdf91bfgrak4ce6ucoqie3wtuscjo4yubkdf9me1gu83ydnc7artuvwid8p5iyh0dxvo386n3td9ttnc5p2olms0i1iaxac6376sk3uwxtc8f6nbo4p3q2wr0vfr9g3iy530l298yqq12twqpcih99omrh7k4o4k5la9jl0kfr45mg72pokjs8h3dt20leiaz4x865p0bk94k66lvp872d7u5uzwa27yc8dkbti1q85y1dvu48"]]
|
56
326
|
[1m[36mRailsAdminContentBuilder::ContentBuilderCategory Load (0.1ms)[0m [1mSELECT "content_builder_categories".* FROM "content_builder_categories" WHERE "content_builder_categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
57
327
|
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
58
328
|
Processing by RailsAdminFeaturedContent::FeaturedContentController#search_content as HTML
|
59
|
-
Parameters: {"term"=>"
|
60
|
-
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.
|
61
|
-
Completed 200 OK in
|
62
|
-
[1m[35m (
|
329
|
+
Parameters: {"term"=>"f9syuzwh9wflpjd", "id"=>"1"}
|
330
|
+
[1m[36mRailsAdminContentBuilder::ContentBuilder Load (0.2ms)[0m [1mSELECT "content_builders".* FROM "content_builders" WHERE ("content_builders"."title" LIKE '%f9syuzwh9wflpjd%') ORDER BY date_publish desc LIMIT 10[0m
|
331
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
332
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
Binary file
|
data/spec/version_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_featured_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luiz Picolo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -492,63 +492,63 @@ signing_key:
|
|
492
492
|
specification_version: 4
|
493
493
|
summary: Easy way for create featured contents using rails_admin
|
494
494
|
test_files:
|
495
|
+
- spec/spec_helper.rb
|
496
|
+
- spec/version_spec.rb
|
497
|
+
- spec/fixtures/assets/example.jpg
|
495
498
|
- spec/controllers/rails_admin_featured_content/featured_content_controller_spec.rb
|
496
|
-
- spec/
|
497
|
-
- spec/
|
498
|
-
- spec/dummy/app/controllers/application_controller.rb
|
499
|
-
- spec/dummy/app/helpers/application_helper.rb
|
500
|
-
- spec/dummy/app/uploaders/content_builder_image_uploader.rb
|
501
|
-
- spec/dummy/app/uploaders/featured_content_image_uploader.rb
|
502
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
503
|
-
- spec/dummy/bin/bundle
|
499
|
+
- spec/factories/featured_content.rb
|
500
|
+
- spec/factories/featured_content_image.rb
|
504
501
|
- spec/dummy/bin/rails
|
505
|
-
- spec/dummy/bin/rake
|
506
502
|
- spec/dummy/bin/setup
|
507
|
-
- spec/dummy/
|
508
|
-
- spec/dummy/
|
509
|
-
- spec/dummy/
|
510
|
-
- spec/dummy/
|
511
|
-
- spec/dummy/config
|
512
|
-
- spec/dummy/config/environments/production.rb
|
513
|
-
- spec/dummy/config/environments/test.rb
|
514
|
-
- spec/dummy/config/initializers/assets.rb
|
515
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
503
|
+
- spec/dummy/bin/rake
|
504
|
+
- spec/dummy/bin/bundle
|
505
|
+
- spec/dummy/log/test.log
|
506
|
+
- spec/dummy/log/development.log
|
507
|
+
- spec/dummy/config.ru
|
516
508
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
517
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
518
|
-
- spec/dummy/config/initializers/inflections.rb
|
519
509
|
- spec/dummy/config/initializers/mime_types.rb
|
510
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
511
|
+
- spec/dummy/config/initializers/inflections.rb
|
512
|
+
- spec/dummy/config/initializers/rails_admin_featured_content.rb
|
513
|
+
- spec/dummy/config/initializers/simple_form.rb
|
520
514
|
- spec/dummy/config/initializers/rails_admin.rb
|
515
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
516
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
521
517
|
- spec/dummy/config/initializers/rails_admin_content_builder.rb
|
522
|
-
- spec/dummy/config/initializers/rails_admin_featured_content.rb
|
523
518
|
- spec/dummy/config/initializers/session_store.rb
|
524
|
-
- spec/dummy/config/initializers/
|
525
|
-
- spec/dummy/config/
|
526
|
-
- spec/dummy/config/
|
519
|
+
- spec/dummy/config/initializers/assets.rb
|
520
|
+
- spec/dummy/config/environment.rb
|
521
|
+
- spec/dummy/config/secrets.yml
|
522
|
+
- spec/dummy/config/application.rb
|
527
523
|
- spec/dummy/config/locales/simple_form.en.yml
|
524
|
+
- spec/dummy/config/locales/en.yml
|
525
|
+
- spec/dummy/config/boot.rb
|
526
|
+
- spec/dummy/config/database.yml
|
528
527
|
- spec/dummy/config/routes.rb
|
529
|
-
- spec/dummy/config/
|
530
|
-
- spec/dummy/config.
|
531
|
-
- spec/dummy/
|
532
|
-
- spec/dummy/
|
528
|
+
- spec/dummy/config/environments/production.rb
|
529
|
+
- spec/dummy/config/environments/test.rb
|
530
|
+
- spec/dummy/config/environments/development.rb
|
531
|
+
- spec/dummy/lib/templates/erb/scaffold/_form.html.erb
|
532
|
+
- spec/dummy/Gemfile.lock
|
533
|
+
- spec/dummy/Rakefile
|
533
534
|
- spec/dummy/db/migrate/20160729105803_create_content_builder_images.rb
|
534
535
|
- spec/dummy/db/migrate/20160729105947_create_featured_contents.rb
|
536
|
+
- spec/dummy/db/migrate/20160729105802_create_content_builders.rb
|
535
537
|
- spec/dummy/db/migrate/20160729105948_create_featured_content_images.rb
|
538
|
+
- spec/dummy/db/migrate/20160729105801_create_content_builder_categories.rb
|
536
539
|
- spec/dummy/db/schema.rb
|
537
540
|
- spec/dummy/db/test.sqlite3
|
541
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
542
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
543
|
+
- spec/dummy/app/assets/javascripts/application.js
|
544
|
+
- spec/dummy/app/helpers/application_helper.rb
|
545
|
+
- spec/dummy/app/controllers/application_controller.rb
|
546
|
+
- spec/dummy/app/uploaders/featured_content_image_uploader.rb
|
547
|
+
- spec/dummy/app/uploaders/content_builder_image_uploader.rb
|
538
548
|
- spec/dummy/Gemfile
|
539
|
-
- spec/dummy/
|
540
|
-
- spec/dummy/
|
541
|
-
- spec/dummy/log/development.log
|
542
|
-
- spec/dummy/log/test.log
|
549
|
+
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/thumb_example.jpg
|
550
|
+
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/example.jpg
|
543
551
|
- spec/dummy/public/404.html
|
552
|
+
- spec/dummy/public/favicon.ico
|
544
553
|
- spec/dummy/public/422.html
|
545
554
|
- spec/dummy/public/500.html
|
546
|
-
- spec/dummy/public/favicon.ico
|
547
|
-
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/example.jpg
|
548
|
-
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/thumb_example.jpg
|
549
|
-
- spec/dummy/Rakefile
|
550
|
-
- spec/factories/featured_content.rb
|
551
|
-
- spec/factories/featured_content_image.rb
|
552
|
-
- spec/fixtures/assets/example.jpg
|
553
|
-
- spec/spec_helper.rb
|
554
|
-
- spec/version_spec.rb
|