guts 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/controllers/guts/navigation_items_controller.rb +9 -9
- data/lib/guts/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +521 -0
- data/test/dummy/log/test.log +9311 -0
- data/test/dummy/public/system/guts/media/166/075/618/compact/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/grande/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/large/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/medium/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/small/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/supreme/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/thumb/spongebob.png +0 -0
- data/test/dummy/tmp/generators/extension/vendor/extensions/guts-homebrews/lib/guts/homebrews/engine.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ebd28095fc97a22a4de4b78ea0f91540ca8ad41
|
4
|
+
data.tar.gz: f1d6f6126e1b67fe3777f24b27a7da0ba3679d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb94a7714a4d0b3d8c1cfddbfaa9fda072cd4e9a9cef7405f34b0c5b61bf5b3108c5fb618b26994b9746d1d8737723f50fccf735eec6217cc8c1839e72998a91
|
7
|
+
data.tar.gz: 77d6c306916992e32d71b6cb284a1527a7831276105a4dce2e055e4ecbbb6f05b882aaa30e2266dfc60faa58099d8002274187c9c7ce09e507c255d060a08a6f
|
data/CHANGELOG.md
CHANGED
@@ -9,9 +9,9 @@ module Guts
|
|
9
9
|
|
10
10
|
# Displays a list of navigation items
|
11
11
|
def index
|
12
|
-
@navigation_items = NavigationItem.all
|
12
|
+
@navigation_items = @navigation.try(:navigation_items) || NavigationItem.all
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
# Shows a single navigation item
|
16
16
|
def show
|
17
17
|
end
|
@@ -53,11 +53,11 @@ module Guts
|
|
53
53
|
# @note Redirects to #index on success
|
54
54
|
def destroy
|
55
55
|
@navigation_item.destroy
|
56
|
-
|
56
|
+
|
57
57
|
flash[:notice] = 'Navigation item was successfully destroyed.'
|
58
58
|
redirect_to navigation_navigation_items_path(@navigation)
|
59
59
|
end
|
60
|
-
|
60
|
+
|
61
61
|
# Generates a list of navigatable objects from the model provided
|
62
62
|
# @see Guts::NavigatableConcern
|
63
63
|
# @return [Object] JSON of navigatable objects
|
@@ -65,19 +65,19 @@ module Guts
|
|
65
65
|
model = params[:model].constantize
|
66
66
|
is_nav = @navigatable.map { |m| m[:name] }.include?(params[:model])
|
67
67
|
objects = model.all.map { |obj| { id: obj.id, format: obj.navigatable_format } } if is_nav
|
68
|
-
|
68
|
+
|
69
69
|
render json: objects
|
70
70
|
end
|
71
71
|
|
72
72
|
private
|
73
|
-
|
73
|
+
|
74
74
|
# Sets a navigation from the database using `id` param
|
75
75
|
# @note This is a `before_action` callback
|
76
76
|
# @private
|
77
77
|
def set_navigation_item
|
78
78
|
@navigation_item = NavigationItem.find params[:id]
|
79
79
|
end
|
80
|
-
|
80
|
+
|
81
81
|
# Sets a navigation parent from the database using `navigation_id` param
|
82
82
|
# @note This is a `before_action` callback
|
83
83
|
# @private
|
@@ -102,13 +102,13 @@ module Guts
|
|
102
102
|
:site_id
|
103
103
|
)
|
104
104
|
end
|
105
|
-
|
105
|
+
|
106
106
|
# Forces module load models so we can determine who is navigatable
|
107
107
|
# @see Guts::NavigatableConcern
|
108
108
|
# @private
|
109
109
|
def set_navigatable_models
|
110
110
|
Dir["#{Guts::Engine.root}/app/models/**/*.rb"].each { |model| require model }
|
111
|
-
|
111
|
+
|
112
112
|
@navigatable = ActiveRecord::Base
|
113
113
|
.descendants
|
114
114
|
.map(&:name)
|
data/lib/guts/version.rb
CHANGED
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -21276,3 +21276,524 @@ Processing by Guts::UsersController#edit as HTML
|
|
21276
21276
|
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21277
21277
|
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21278
21278
|
Completed 200 OK in 107ms (Views: 101.7ms | ActiveRecord: 1.5ms)
|
21279
|
+
|
21280
|
+
|
21281
|
+
Started GET "/guts" for ::1 at 2016-08-21 23:57:37 -0230
|
21282
|
+
Processing by Guts::UsersController#index as HTML
|
21283
|
+
[1m[36mGuts::Site Load (0.5ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21284
|
+
[1m[35mGuts::User Load (0.5ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT 1
|
21285
|
+
Redirected to http://localhost:3000/guts/session/login
|
21286
|
+
Filter chain halted as :firewall rendered or redirected
|
21287
|
+
Completed 302 Found in 65ms (ActiveRecord: 3.9ms)
|
21288
|
+
|
21289
|
+
|
21290
|
+
Started GET "/guts/session/login" for ::1 at 2016-08-21 23:57:38 -0230
|
21291
|
+
Processing by Guts::SessionsController#new as HTML
|
21292
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21293
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (23.3ms)
|
21294
|
+
Rendered guts/application/_layout_hook.html.erb (0.4ms)
|
21295
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT 1
|
21296
|
+
Completed 200 OK in 670ms (Views: 669.1ms | ActiveRecord: 0.3ms)
|
21297
|
+
|
21298
|
+
|
21299
|
+
Started GET "/assets/guts/vendor/foundation.self-c32902b7f65cb1bd7707442ee620bf9a0a030130c9867e98df01ef3811f569ff.css?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21300
|
+
|
21301
|
+
|
21302
|
+
Started GET "/assets/guts/vendor/sweetalert.self-93ae81483be2e9705db4cd911fa410bc2cf6c24f355dc5ac899de49fab854e63.css?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21303
|
+
|
21304
|
+
|
21305
|
+
Started GET "/assets/guts/application.self-5de3cc20e7decf38d990fae9ce1386c0fbf9674aacc8759c38da014842624eaf.css?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21306
|
+
|
21307
|
+
|
21308
|
+
Started GET "/assets/guts/vendor/font-awesome.self-a68eb5c14ddaafce1013286885bab40a1ff29285f097cea7b333b34a85b6a4ee.css?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21309
|
+
|
21310
|
+
|
21311
|
+
Started GET "/assets/guts/fonts.self-0da06d35b62d315601e7fb7fedef1f1934927be994475fdca6688624c7c18826.css?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21312
|
+
|
21313
|
+
|
21314
|
+
Started GET "/assets/tinymce/preinit.self-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21315
|
+
|
21316
|
+
|
21317
|
+
Started GET "/assets/tinymce/tinymce.self-291ab6aad94eeb15c2c093d67a5ef0c29ee7bb8fcbd60aa74cf7ff0856de9629.js?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21318
|
+
|
21319
|
+
|
21320
|
+
Started GET "/assets/tinymce.self-75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070.js?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21321
|
+
|
21322
|
+
|
21323
|
+
Started GET "/assets/guts/vendor/jquery.self-ad66c584c2469d2bb527ba7aef5893549f1554ccc8ab3ccb43bd09ce8c3bf7a1.js?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21324
|
+
|
21325
|
+
|
21326
|
+
Started GET "/assets/guts/vendor/foundation.self-649f426f98e4a6db36a77a6984aac07629daff00d65297af03439ba00e7fb99b.js?body=1" for ::1 at 2016-08-21 23:57:38 -0230
|
21327
|
+
|
21328
|
+
|
21329
|
+
Started GET "/assets/guts/vendor/sweetalert.self-07a2b387624bb896641ca2f2f0fcb42793009484b2fff20af03d7ce92a894be8.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21330
|
+
|
21331
|
+
|
21332
|
+
Started GET "/assets/guts/vendor/handlebars.self-f34dc7344cb4b7ef71749fc1095378a12419c079a2d058bf69e4a6de17d780eb.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21333
|
+
|
21334
|
+
|
21335
|
+
Started GET "/assets/fontawesome/fontawesome-webfont-ff82aeed6b9bb6701696c84d1b223d2e682eb78c89117a438ce6cfea8c498995.woff2" for ::1 at 2016-08-21 23:57:39 -0230
|
21336
|
+
|
21337
|
+
|
21338
|
+
Started GET "/assets/ubuntu/ubuntu-regular-90543ac04e319b31c4d00aa8929581eb50dfce7e82027b699803d3d3d7d82577.woff" for ::1 at 2016-08-21 23:57:39 -0230
|
21339
|
+
|
21340
|
+
|
21341
|
+
Started GET "/assets/tinymce/jquery.tinymce.self-a1a9f9003344caa917c53ea9e2e0a3999194e236a502b74a5d053b8e09a506f3.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21342
|
+
|
21343
|
+
|
21344
|
+
Started GET "/assets/tinymce-jquery.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21345
|
+
|
21346
|
+
|
21347
|
+
Started GET "/assets/guts/media.self-ec1dcedb7c34db3d4ef744aa9f84fdef47a0e61b2e93621952dd755397d829e8.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21348
|
+
|
21349
|
+
|
21350
|
+
Started GET "/assets/guts/navigation.self-20e8d140f606e082c206885ee2f01d06c0f7d27984697f6175cedee833f3080f.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21351
|
+
|
21352
|
+
|
21353
|
+
Started GET "/assets/guts/application.self-279b1fa98e7f86ac05094ab28982a8675ff3dcb27055cc8f2210a795d398e338.js?body=1" for ::1 at 2016-08-21 23:57:39 -0230
|
21354
|
+
|
21355
|
+
|
21356
|
+
Started POST "/guts/session/login" for ::1 at 2016-08-21 23:57:42 -0230
|
21357
|
+
Processing by Guts::SessionsController#create as HTML
|
21358
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jLUM7QpR0fsQ/C0g57j/AcIyuqm2QdNhPs9EKBAkcZKU2+mWnChSD2hrFZZxoPBuJQDNkwA/Xc/Ixot9WhCOA==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@outlook.com", "password"=>"[FILTERED]"}}
|
21359
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21360
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "tyler.n.king@outlook.com"]]
|
21361
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (1.1ms)
|
21362
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21363
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT 1[0m
|
21364
|
+
Completed 200 OK in 178ms (Views: 85.0ms | ActiveRecord: 0.7ms)
|
21365
|
+
|
21366
|
+
|
21367
|
+
Started POST "/guts/session/login" for ::1 at 2016-08-21 23:57:44 -0230
|
21368
|
+
Processing by Guts::SessionsController#create as HTML
|
21369
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rx6BZ2jF4EJ+zP6zbrSokijoBJY/yuFERBdDySGeVYIXfzryhpwGTa8uolG07Mivl3TNStUTG37/z2T0dLaGfA==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@outlook.com", "password"=>"[FILTERED]"}}
|
21370
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21371
|
+
[1m[36mGuts::User Load (0.3ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1[0m [["email", "tyler.n.king@outlook.com"]]
|
21372
|
+
Redirected to http://localhost:3000/guts/users
|
21373
|
+
Completed 302 Found in 90ms (ActiveRecord: 0.4ms)
|
21374
|
+
|
21375
|
+
|
21376
|
+
Started GET "/guts/users" for ::1 at 2016-08-21 23:57:44 -0230
|
21377
|
+
Processing by Guts::UsersController#index as HTML
|
21378
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21379
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21380
|
+
[1m[35mGuts::Group Load (0.9ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21381
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
21382
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users"
|
21383
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21384
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (8.4ms)
|
21385
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21386
|
+
[1m[35mGuts::Type Load (0.8ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21387
|
+
Completed 200 OK in 165ms (Views: 106.8ms | ActiveRecord: 3.0ms)
|
21388
|
+
|
21389
|
+
|
21390
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:57:46 -0230
|
21391
|
+
Processing by Guts::NavigationsController#index as HTML
|
21392
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21393
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21394
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21395
|
+
[1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21396
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (8.3ms)
|
21397
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21398
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21399
|
+
Completed 200 OK in 112ms (Views: 98.8ms | ActiveRecord: 1.8ms)
|
21400
|
+
|
21401
|
+
|
21402
|
+
Started GET "/guts/navigations/new" for ::1 at 2016-08-21 23:57:47 -0230
|
21403
|
+
Processing by Guts::NavigationsController#new as HTML
|
21404
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21405
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21406
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21407
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (10.2ms)
|
21408
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/new.html.erb within layouts/guts/application (12.5ms)
|
21409
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21410
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21411
|
+
Completed 200 OK in 106ms (Views: 97.6ms | ActiveRecord: 0.6ms)
|
21412
|
+
|
21413
|
+
|
21414
|
+
Started POST "/guts/navigations" for ::1 at 2016-08-21 23:57:51 -0230
|
21415
|
+
Processing by Guts::NavigationsController#create as HTML
|
21416
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"kl8KVNDRSSSpUDVUFpQhFTd8zmV8OuqsIG6OlQBb5L4qPrHBPoivK3iyabbMzEEoiOAHuZbjEJabtqmoVXM3QA==", "commit"=>"Save", "navigation"=>{"title"=>"Dummy", "site_id"=>""}}
|
21417
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21418
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21419
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21421
|
+
[1m[35mGuts::Navigation Exists (1.1ms)[0m SELECT 1 AS one FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND ("guts_navigations"."id" IS NOT NULL) AND "guts_navigations"."slug" = ? LIMIT 1 [["slug", "dummy"]]
|
21422
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "guts_navigations" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Dummy"], ["slug", "dummy"], ["created_at", "2016-08-22 02:27:51.434333"], ["updated_at", "2016-08-22 02:27:51.434333"]]
|
21423
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 1], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-08-22 02:27:51.453052"], ["updated_at", "2016-08-22 02:27:51.453052"]]
|
21424
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
21425
|
+
Redirected to http://localhost:3000/guts/navigations
|
21426
|
+
Completed 302 Found in 159ms (ActiveRecord: 5.6ms)
|
21427
|
+
|
21428
|
+
|
21429
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:57:51 -0230
|
21430
|
+
Processing by Guts::NavigationsController#index as HTML
|
21431
|
+
[1m[35mGuts::Site Load (0.2ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21432
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21433
|
+
[1m[35mGuts::Group Load (0.4ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21434
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21435
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21436
|
+
[1m[36m (1.9ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21437
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (12.8ms)
|
21438
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21439
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21440
|
+
Completed 200 OK in 86ms (Views: 76.7ms | ActiveRecord: 3.2ms)
|
21441
|
+
|
21442
|
+
|
21443
|
+
Started GET "/guts/navigations/dummy/items/new" for ::1 at 2016-08-21 23:57:52 -0230
|
21444
|
+
Processing by Guts::NavigationItemsController#new as HTML
|
21445
|
+
Parameters: {"navigation_id"=>"dummy"}
|
21446
|
+
[1m[36mGuts::Site Load (0.2ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21447
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21448
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21449
|
+
[1m[35mGuts::Navigation Load (0.2ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy"]]
|
21450
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (6.4ms)
|
21451
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/new.html.erb within layouts/guts/application (8.5ms)
|
21452
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21453
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21454
|
+
Completed 200 OK in 159ms (Views: 82.7ms | ActiveRecord: 0.8ms)
|
21455
|
+
|
21456
|
+
|
21457
|
+
Started POST "/guts/navigations/dummy/items" for ::1 at 2016-08-21 23:57:59 -0230
|
21458
|
+
Processing by Guts::NavigationItemsController#create as HTML
|
21459
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HvfnJeElAtfhkTYqC03afKzsyz8aCWEawW8ZiLLCcM6mllywD3zk2DBzasjRFbpBE3AC4/DQmyB6tz615+qjMA==", "commit"=>"Save", "navigation_item"=>{"title"=>"Home", "navigatable_type"=>"", "custom"=>"#", "navigation_id"=>"1", "site_id"=>""}, "navigation_id"=>"dummy"}
|
21460
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21461
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21462
|
+
[1m[35mGuts::Group Load (0.2ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21463
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21464
|
+
[1m[35m (0.2ms)[0m begin transaction
|
21465
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "guts_navigation_items" ("title", "custom", "navigation_id", "navigatable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Home"], ["custom", "#"], ["navigation_id", 1], ["navigatable_type", ""], ["created_at", "2016-08-22 02:27:59.714157"], ["updated_at", "2016-08-22 02:27:59.714157"]]
|
21466
|
+
[1m[35m (0.8ms)[0m commit transaction
|
21467
|
+
Redirected to http://localhost:3000/guts/navigations/dummy/items
|
21468
|
+
Completed 302 Found in 19ms (ActiveRecord: 3.4ms)
|
21469
|
+
|
21470
|
+
|
21471
|
+
Started GET "/guts/navigations/dummy/items" for ::1 at 2016-08-21 23:57:59 -0230
|
21472
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
21473
|
+
Parameters: {"navigation_id"=>"dummy"}
|
21474
|
+
[1m[36mGuts::Site Load (0.2ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21475
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21476
|
+
[1m[36mGuts::Group Load (0.2ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21477
|
+
[1m[35mGuts::Navigation Load (0.3ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy"]]
|
21478
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL[0m
|
21479
|
+
[1m[35mGuts::NavigationItem Load (0.4ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
21480
|
+
[1m[36mGuts::Navigation Load (0.3ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 1]]
|
21481
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (19.6ms)
|
21482
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21483
|
+
[1m[35mGuts::Type Load (0.6ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21484
|
+
Completed 200 OK in 138ms (Views: 119.1ms | ActiveRecord: 2.1ms)
|
21485
|
+
|
21486
|
+
|
21487
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:58:04 -0230
|
21488
|
+
Processing by Guts::NavigationsController#index as HTML
|
21489
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21490
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21491
|
+
[1m[36mGuts::Group Load (0.3ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21492
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21493
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21494
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21495
|
+
[1m[36mGuts::NavigationItem Load (0.2ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21496
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (6.0ms)
|
21497
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21498
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21499
|
+
Completed 200 OK in 66ms (Views: 60.2ms | ActiveRecord: 1.2ms)
|
21500
|
+
|
21501
|
+
|
21502
|
+
Started GET "/guts/navigations/new" for ::1 at 2016-08-21 23:58:05 -0230
|
21503
|
+
Processing by Guts::NavigationsController#new as HTML
|
21504
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21505
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21506
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21507
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (1.2ms)
|
21508
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/new.html.erb within layouts/guts/application (2.7ms)
|
21509
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21510
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21511
|
+
Completed 200 OK in 74ms (Views: 70.1ms | ActiveRecord: 0.4ms)
|
21512
|
+
|
21513
|
+
|
21514
|
+
Started POST "/guts/navigations" for ::1 at 2016-08-21 23:58:10 -0230
|
21515
|
+
Processing by Guts::NavigationsController#create as HTML
|
21516
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Wx6qqdvwo7gaEoOZuGSfWll1Zj5lGIeVxkw3nuM+ucLjfxE8NalFt8vw33tiPP9n5umv4o/Bfa99lBCjthZqPA==", "commit"=>"Save", "navigation"=>{"title"=>"Dummy Footer", "site_id"=>""}}
|
21517
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21518
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21519
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
21521
|
+
[1m[36mGuts::Navigation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND ("guts_navigations"."id" IS NOT NULL) AND "guts_navigations"."slug" = ? LIMIT 1[0m [["slug", "dummy-footer"]]
|
21522
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_navigations" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Dummy Footer"], ["slug", "dummy-footer"], ["created_at", "2016-08-22 02:28:10.152259"], ["updated_at", "2016-08-22 02:28:10.152259"]]
|
21523
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 2], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-08-22 02:28:10.154441"], ["updated_at", "2016-08-22 02:28:10.154441"]]
|
21524
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 2], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-08-22 02:28:10.156184"], ["updated_at", "2016-08-22 02:28:10.156184"]]
|
21525
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
21526
|
+
Redirected to http://localhost:3000/guts/navigations
|
21527
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.8ms)
|
21528
|
+
|
21529
|
+
|
21530
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:58:10 -0230
|
21531
|
+
Processing by Guts::NavigationsController#index as HTML
|
21532
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21533
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21534
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21535
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21536
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21537
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21538
|
+
[1m[35mGuts::NavigationItem Load (0.2ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21539
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 2]]
|
21540
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (11.2ms)
|
21541
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21542
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21543
|
+
Completed 200 OK in 83ms (Views: 79.3ms | ActiveRecord: 1.2ms)
|
21544
|
+
|
21545
|
+
|
21546
|
+
Started GET "/guts/navigations/dummy-footer/edit" for ::1 at 2016-08-21 23:58:11 -0230
|
21547
|
+
Processing by Guts::NavigationsController#edit as HTML
|
21548
|
+
Parameters: {"id"=>"dummy-footer"}
|
21549
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21550
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21551
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21552
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy-footer"]]
|
21553
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 2], ["fieldable_type", "Guts::Navigation"]]
|
21554
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 2], ["filable_type", "Guts::Navigation"]]
|
21555
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (8.3ms)
|
21556
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/edit.html.erb within layouts/guts/application (10.5ms)
|
21557
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21558
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21559
|
+
Completed 200 OK in 69ms (Views: 64.4ms | ActiveRecord: 1.4ms)
|
21560
|
+
|
21561
|
+
|
21562
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:58:13 -0230
|
21563
|
+
Processing by Guts::NavigationsController#index as HTML
|
21564
|
+
[1m[35mGuts::Site Load (0.2ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21565
|
+
[1m[36mGuts::User Load (0.3ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21566
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21567
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21568
|
+
[1m[35mGuts::Navigation Load (0.2ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21569
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21570
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21571
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 2]]
|
21572
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (9.8ms)
|
21573
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21574
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21575
|
+
Completed 200 OK in 97ms (Views: 89.0ms | ActiveRecord: 1.4ms)
|
21576
|
+
|
21577
|
+
|
21578
|
+
Started GET "/guts/navigations/dummy-footer/items/new" for ::1 at 2016-08-21 23:58:14 -0230
|
21579
|
+
Processing by Guts::NavigationItemsController#new as HTML
|
21580
|
+
Parameters: {"navigation_id"=>"dummy-footer"}
|
21581
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21582
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21583
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21584
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy-footer"]]
|
21585
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (2.6ms)
|
21586
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/new.html.erb within layouts/guts/application (4.3ms)
|
21587
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21588
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21589
|
+
Completed 200 OK in 80ms (Views: 71.9ms | ActiveRecord: 0.5ms)
|
21590
|
+
|
21591
|
+
|
21592
|
+
Started POST "/guts/navigations/dummy-footer/items" for ::1 at 2016-08-21 23:58:22 -0230
|
21593
|
+
Processing by Guts::NavigationItemsController#create as HTML
|
21594
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"G6hMPHejlJbCHINEmJIFnDbnXk2AY5lzzHxFh8cTz8WjyfepmfpymRP+36ZCymWhiXuXkWq6Y0l3pGK6kjscOw==", "commit"=>"Save", "navigation_item"=>{"title"=>"Home 2", "navigatable_type"=>"", "custom"=>"#", "navigation_id"=>"2", "site_id"=>""}, "navigation_id"=>"dummy-footer"}
|
21595
|
+
[1m[35mGuts::Site Load (0.4ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21596
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21597
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21598
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy-footer"]]
|
21599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
21600
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_navigation_items" ("title", "custom", "navigation_id", "navigatable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["title", "Home 2"], ["custom", "#"], ["navigation_id", 2], ["navigatable_type", ""], ["created_at", "2016-08-22 02:28:22.873249"], ["updated_at", "2016-08-22 02:28:22.873249"]]
|
21601
|
+
[1m[35m (1.4ms)[0m commit transaction
|
21602
|
+
Redirected to http://localhost:3000/guts/navigations/dummy-footer/items
|
21603
|
+
Completed 302 Found in 18ms (ActiveRecord: 2.3ms)
|
21604
|
+
|
21605
|
+
|
21606
|
+
Started GET "/guts/navigations/dummy-footer/items" for ::1 at 2016-08-21 23:58:22 -0230
|
21607
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
21608
|
+
Parameters: {"navigation_id"=>"dummy-footer"}
|
21609
|
+
[1m[36mGuts::Site Load (0.2ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21610
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21611
|
+
[1m[36mGuts::Group Load (0.2ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21612
|
+
[1m[35mGuts::Navigation Load (0.5ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy-footer"]]
|
21613
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL[0m
|
21614
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
21615
|
+
[1m[36mGuts::Navigation Load (0.4ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 1]]
|
21616
|
+
[1m[35mGuts::Navigation Load (0.2ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1 [["id", 2]]
|
21617
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (18.0ms)
|
21618
|
+
Rendered guts/application/_layout_hook.html.erb (0.2ms)
|
21619
|
+
[1m[36mGuts::Type Load (0.4ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21620
|
+
Completed 200 OK in 122ms (Views: 103.6ms | ActiveRecord: 2.2ms)
|
21621
|
+
|
21622
|
+
|
21623
|
+
Started GET "/guts/navigations/dummy/items" for ::1 at 2016-08-21 23:58:36 -0230
|
21624
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
21625
|
+
Parameters: {"navigation_id"=>"dummy"}
|
21626
|
+
[1m[35mGuts::Site Load (0.2ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21627
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21628
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21629
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21630
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
21631
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL[0m
|
21632
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1 [["id", 1]]
|
21633
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 2]]
|
21634
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (4.9ms)
|
21635
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21636
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21637
|
+
Completed 200 OK in 70ms (Views: 60.3ms | ActiveRecord: 1.0ms)
|
21638
|
+
|
21639
|
+
|
21640
|
+
Started GET "/guts/navigations/dummy-footer/items" for ::1 at 2016-08-21 23:59:17 -0230
|
21641
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
21642
|
+
Parameters: {"navigation_id"=>"dummy-footer"}
|
21643
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21644
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21645
|
+
[1m[36mGuts::Group Load (0.2ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21646
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "dummy-footer"]]
|
21647
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 2]]
|
21648
|
+
[1m[35mGuts::NavigationItem Load (0.4ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 2]]
|
21649
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (15.9ms)
|
21650
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21651
|
+
[1m[36mGuts::Type Load (0.3ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21652
|
+
Completed 200 OK in 167ms (Views: 85.9ms | ActiveRecord: 3.4ms)
|
21653
|
+
|
21654
|
+
|
21655
|
+
Started GET "/assets/guts/vendor/foundation.self-c32902b7f65cb1bd7707442ee620bf9a0a030130c9867e98df01ef3811f569ff.css?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21656
|
+
|
21657
|
+
|
21658
|
+
Started GET "/assets/guts/vendor/sweetalert.self-93ae81483be2e9705db4cd911fa410bc2cf6c24f355dc5ac899de49fab854e63.css?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21659
|
+
|
21660
|
+
|
21661
|
+
Started GET "/assets/guts/fonts.self-0da06d35b62d315601e7fb7fedef1f1934927be994475fdca6688624c7c18826.css?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21662
|
+
|
21663
|
+
|
21664
|
+
Started GET "/assets/guts/vendor/font-awesome.self-a68eb5c14ddaafce1013286885bab40a1ff29285f097cea7b333b34a85b6a4ee.css?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21665
|
+
|
21666
|
+
|
21667
|
+
Started GET "/assets/guts/application.self-5de3cc20e7decf38d990fae9ce1386c0fbf9674aacc8759c38da014842624eaf.css?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21668
|
+
|
21669
|
+
|
21670
|
+
Started GET "/assets/tinymce/preinit.self-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21671
|
+
|
21672
|
+
|
21673
|
+
Started GET "/assets/tinymce/tinymce.self-291ab6aad94eeb15c2c093d67a5ef0c29ee7bb8fcbd60aa74cf7ff0856de9629.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21674
|
+
|
21675
|
+
|
21676
|
+
Started GET "/assets/tinymce.self-75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21677
|
+
|
21678
|
+
|
21679
|
+
Started GET "/assets/guts/vendor/jquery.self-ad66c584c2469d2bb527ba7aef5893549f1554ccc8ab3ccb43bd09ce8c3bf7a1.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21680
|
+
|
21681
|
+
|
21682
|
+
Started GET "/assets/guts/vendor/foundation.self-649f426f98e4a6db36a77a6984aac07629daff00d65297af03439ba00e7fb99b.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21683
|
+
|
21684
|
+
|
21685
|
+
Started GET "/assets/guts/vendor/handlebars.self-f34dc7344cb4b7ef71749fc1095378a12419c079a2d058bf69e4a6de17d780eb.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21686
|
+
|
21687
|
+
|
21688
|
+
Started GET "/assets/guts/vendor/sweetalert.self-07a2b387624bb896641ca2f2f0fcb42793009484b2fff20af03d7ce92a894be8.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21689
|
+
|
21690
|
+
|
21691
|
+
Started GET "/assets/tinymce/jquery.tinymce.self-a1a9f9003344caa917c53ea9e2e0a3999194e236a502b74a5d053b8e09a506f3.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21692
|
+
|
21693
|
+
|
21694
|
+
Started GET "/assets/guts/media.self-ec1dcedb7c34db3d4ef744aa9f84fdef47a0e61b2e93621952dd755397d829e8.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21695
|
+
|
21696
|
+
|
21697
|
+
Started GET "/assets/tinymce-jquery.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21698
|
+
|
21699
|
+
|
21700
|
+
Started GET "/assets/guts/navigation.self-20e8d140f606e082c206885ee2f01d06c0f7d27984697f6175cedee833f3080f.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21701
|
+
|
21702
|
+
|
21703
|
+
Started GET "/assets/guts/application.self-279b1fa98e7f86ac05094ab28982a8675ff3dcb27055cc8f2210a795d398e338.js?body=1" for ::1 at 2016-08-21 23:59:17 -0230
|
21704
|
+
|
21705
|
+
|
21706
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:59:32 -0230
|
21707
|
+
Processing by Guts::NavigationsController#index as HTML
|
21708
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21709
|
+
[1m[36mGuts::User Load (0.3ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21710
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21711
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21712
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21713
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21714
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21715
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 2]]
|
21716
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 2]]
|
21717
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (9.6ms)
|
21718
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21719
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
21720
|
+
Completed 200 OK in 69ms (Views: 63.5ms | ActiveRecord: 1.2ms)
|
21721
|
+
|
21722
|
+
|
21723
|
+
Started GET "/guts/navigations/dummy/edit" for ::1 at 2016-08-21 23:59:33 -0230
|
21724
|
+
Processing by Guts::NavigationsController#edit as HTML
|
21725
|
+
Parameters: {"id"=>"dummy"}
|
21726
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21727
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21728
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21729
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21730
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 1], ["fieldable_type", "Guts::Navigation"]]
|
21731
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 1], ["filable_type", "Guts::Navigation"]]
|
21732
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (7.8ms)
|
21733
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/edit.html.erb within layouts/guts/application (9.2ms)
|
21734
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21735
|
+
[1m[35mGuts::Type Load (0.4ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21736
|
+
Completed 200 OK in 76ms (Views: 71.8ms | ActiveRecord: 1.3ms)
|
21737
|
+
|
21738
|
+
|
21739
|
+
Started GET "/guts/navigations" for ::1 at 2016-08-21 23:59:34 -0230
|
21740
|
+
Processing by Guts::NavigationsController#index as HTML
|
21741
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21742
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21743
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21744
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
21745
|
+
[1m[36mGuts::Navigation Load (0.2ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
21746
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21747
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21748
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 2]]
|
21749
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 2]]
|
21750
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (9.8ms)
|
21751
|
+
Rendered guts/application/_layout_hook.html.erb (0.0ms)
|
21752
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21753
|
+
Completed 200 OK in 75ms (Views: 71.7ms | ActiveRecord: 1.2ms)
|
21754
|
+
|
21755
|
+
|
21756
|
+
Started GET "/guts/navigations/dummy/items/1/edit" for ::1 at 2016-08-21 23:59:36 -0230
|
21757
|
+
Processing by Guts::NavigationItemsController#edit as HTML
|
21758
|
+
Parameters: {"navigation_id"=>"dummy", "id"=>"1"}
|
21759
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21760
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21761
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21762
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 1]]
|
21763
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21764
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 1], ["fieldable_type", "Guts::NavigationItem"]]
|
21765
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 1], ["filable_type", "Guts::NavigationItem"]]
|
21766
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (8.0ms)
|
21767
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/edit.html.erb within layouts/guts/application (10.2ms)
|
21768
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21769
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21770
|
+
Completed 200 OK in 75ms (Views: 65.8ms | ActiveRecord: 0.8ms)
|
21771
|
+
|
21772
|
+
|
21773
|
+
Started PATCH "/guts/navigations/dummy/items/1" for ::1 at 2016-08-21 23:59:37 -0230
|
21774
|
+
Processing by Guts::NavigationItemsController#update as HTML
|
21775
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KkCJBuz80R5riBiivlimw8kdbAFavDVDmxpMC1q93eWSITKTAqU3EbpqREBkAMb+doGl3bBlz3kgwms2D5UOGw==", "commit"=>"Save", "navigation_item"=>{"title"=>"Home", "navigatable_type"=>"", "custom"=>"#", "navigation_id"=>"1", "site_id"=>""}, "navigation_id"=>"dummy", "id"=>"1"}
|
21776
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "localhost"]]
|
21777
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 1]]
|
21778
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 1]]
|
21779
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 1]]
|
21780
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21781
|
+
[1m[35m (0.1ms)[0m begin transaction
|
21782
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
21783
|
+
Redirected to http://localhost:3000/guts/navigations/dummy/items
|
21784
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.6ms)
|
21785
|
+
|
21786
|
+
|
21787
|
+
Started GET "/guts/navigations/dummy/items" for ::1 at 2016-08-21 23:59:38 -0230
|
21788
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
21789
|
+
Parameters: {"navigation_id"=>"dummy"}
|
21790
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "localhost"]]
|
21791
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
21792
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 1]]
|
21793
|
+
[1m[36mGuts::Navigation Load (0.2ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "dummy"]]
|
21794
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 1]]
|
21795
|
+
[1m[36mGuts::NavigationItem Load (0.3ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 1]]
|
21796
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (6.3ms)
|
21797
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
21798
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
21799
|
+
Completed 200 OK in 97ms (Views: 84.1ms | ActiveRecord: 1.0ms)
|