guts 2.0.2 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34d46c3d97056b1bee408ce793f45e78acf693b8
4
- data.tar.gz: d7415148174a435debc83d398728322ed404e4b1
3
+ metadata.gz: 61a9b12f381d39ba05f4912b98f8e6bb4fd6305a
4
+ data.tar.gz: 9da0e09267e804102da16461662848bd32953352
5
5
  SHA512:
6
- metadata.gz: 92ded402bb0efb34e43fe33185257eaca7906e8039996b7994ac33d68625ca10822eb3e79b017da05f7d22f47b468de50ff6c7fdaac4a2e3654a0dc6b2916ad2
7
- data.tar.gz: d4229644375eb907f72f217180245903ec2fe2a0778c27bbf7787d5343e8e9679eaeda7c784d9f699650155d72eee019e9293b42b29af4423ae84dd14073551b
6
+ metadata.gz: d8d885bbd0960df810ba3d892c1615b849ebaeac81ae33ee6867d3be6b75da89a79f790d98bf152c12f8c1baa363719d65d2eaff0f0160a1d7a602418bbb4151
7
+ data.tar.gz: 071116af129857746dc8f870daf341661e2c365be664804f04c70e349d3ac1f3fc65021235343c46c2c19fdf8fa0e81d4d60ba4eedb5e60d2ea7d5d4c3c1a8f9
@@ -1,3 +1,9 @@
1
+ # Version 2.1.0
2
+
3
+ + Abilities model for CanCanCan now extracts default abilities into its own method for easier overwriting. See `docs/extra/permissions.md`.
4
+ + Extracted TinyMCE toggler into a helper method for better re-usability
5
+ + Metafield entries are defaulted to plain-text input on-load now, previously it loaded TinyMCE
6
+
1
7
  # Version 2.0.2
2
8
 
3
9
  + Logging in a fresh user with no permissions set, will no longer say access denied... it will now display the welcome screen for all
@@ -52,5 +52,12 @@ module Guts
52
52
  def current_site_form_field(f)
53
53
  f.hidden_field :site_id, value: @current_site.try(:id)
54
54
  end
55
+
56
+ # Helper to toggle TinyMCE editor on a field
57
+ # @param [String] id the DOM ID to target
58
+ # @return [String] html for link
59
+ def toggle_tinymce(id)
60
+ link_to 'Toggle Editor Mode', '#', class: 'toggle-tinymce', data: { 'editor-id' => id }
61
+ end
55
62
  end
56
63
  end
@@ -6,6 +6,13 @@ module Guts
6
6
  # Initializes the user's abilities
7
7
  # @param [Object|Nil] user the user object
8
8
  def initialize(user)
9
+ # Call standard abilities... easier to override with decorator
10
+ standard_abilities user
11
+ end
12
+
13
+ # Standard ability handler (makes it easier to override)
14
+ # @param [Object|Nil] user the user object
15
+ def standard_abilities(user)
9
16
  user ||= Guts::User.new
10
17
 
11
18
  # Allow anyone logged in to see the index page
@@ -46,7 +46,7 @@
46
46
  <div class="small-12 columns">
47
47
  <%= f.label :content %>
48
48
  <%= f.text_area :content, { class: 'tinymce' } %>
49
- <%= link_to 'Toggle Editor Mode', '#', class: 'toggle-tinymce', data: { 'editor-id': 'content_content' } %>
49
+ <%= toggle_tinymce 'content_content' %>
50
50
  </div>
51
51
  </div>
52
52
  </div>
@@ -33,8 +33,8 @@
33
33
 
34
34
  <div class="small-12 columns">
35
35
  <%= f.label :value %>
36
- <%= f.text_area :value, { class: 'tinymce' } %>
37
- <%= link_to 'Toggle Editor Mode', '#', class: 'toggle-tinymce', data: { 'editor-id': 'metafield_value' } %>
36
+ <%= f.text_area :value %>
37
+ <%= toggle_tinymce 'metafield_value' %>
38
38
  </div>
39
39
 
40
40
  <div class="hide">
@@ -35,6 +35,7 @@
35
35
  <div class="small-12 columns">
36
36
  <%= f.label :value %>
37
37
  <%= f.text_area :value %>
38
+ <%= toggle_tinymce 'option_value' %>
38
39
  </div>
39
40
 
40
41
  <%= current_site_form_field f %>
@@ -1,5 +1,5 @@
1
1
  # Guts' module namespace
2
2
  module Guts
3
3
  # Current Guts version
4
- VERSION = '2.0.2'.freeze
4
+ VERSION = '2.1.0'.freeze
5
5
  end
Binary file
@@ -12564,3 +12564,597 @@ Processing by Guts::IndexController#index as HTML
12564
12564
  Completed 200 OK in 134ms (Views: 85.4ms | ActiveRecord: 1.8ms)
12565
12565
 
12566
12566
 
12567
+ Started GET "/" for ::1 at 2017-03-08 10:16:16 -0330
12568
+ Processing by Rails::WelcomeController#index as HTML
12569
+ Parameters: {"internal"=>true}
12570
+ Rendering /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb
12571
+ Rendered /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (6.6ms)
12572
+ Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 0.0ms)
12573
+
12574
+
12575
+ Started GET "/guts" for ::1 at 2017-03-08 10:16:20 -0330
12576
+ Processing by Guts::IndexController#index as HTML
12577
+ Guts::Site Load (0.7ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12578
+ Guts::User Load (0.5ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12579
+ CACHE (0.0ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12580
+ Redirected to http://localhost:3000/guts/session/login
12581
+ Completed 302 Found in 180ms (ActiveRecord: 7.1ms)
12582
+
12583
+
12584
+ Started GET "/guts/session/login" for ::1 at 2017-03-08 10:16:20 -0330
12585
+ Processing by Guts::SessionsController#new as HTML
12586
+ Guts::Site Load (0.2ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12587
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12588
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application
12589
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (26.1ms)
12590
+ Rendered guts/application/_layout_hook.html.erb (0.7ms)
12591
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (628.0ms)
12592
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (2.5ms)
12593
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.8ms)
12594
+ Completed 200 OK in 778ms (Views: 770.3ms | ActiveRecord: 0.4ms)
12595
+
12596
+
12597
+ Started GET "/assets/guts/vendor/foundation.self-c32902b7f65cb1bd7707442ee620bf9a0a030130c9867e98df01ef3811f569ff.css?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12598
+ Started GET "/assets/guts/vendor/sweetalert.self-93ae81483be2e9705db4cd911fa410bc2cf6c24f355dc5ac899de49fab854e63.css?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12599
+ Started GET "/assets/guts/application.self-824368c255f7d2582069a6f7a264f3e99fe17f0df87452937fa3d1e2028fe56c.css?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12600
+ Started GET "/assets/guts/vendor/font-awesome.self-a68eb5c14ddaafce1013286885bab40a1ff29285f097cea7b333b34a85b6a4ee.css?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12601
+ Started GET "/assets/tinymce.self-75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12602
+ Started GET "/assets/guts/fonts.self-0da06d35b62d315601e7fb7fedef1f1934927be994475fdca6688624c7c18826.css?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12603
+ Started GET "/assets/tinymce/preinit.self-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12604
+ Started GET "/assets/tinymce/tinymce.self-526527aa5e646820f9f6661370872c86d41c57daf0bbc9cddd7bf8554c747dbb.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12605
+ Started GET "/assets/guts/vendor/foundation.self-649f426f98e4a6db36a77a6984aac07629daff00d65297af03439ba00e7fb99b.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12606
+ Started GET "/assets/guts/vendor/jquery.self-ad66c584c2469d2bb527ba7aef5893549f1554ccc8ab3ccb43bd09ce8c3bf7a1.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12607
+ Started GET "/assets/guts/vendor/handlebars.self-f34dc7344cb4b7ef71749fc1095378a12419c079a2d058bf69e4a6de17d780eb.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12608
+ Started GET "/assets/guts/vendor/sortable.self-18564bbd5cbc6049b2a7404b36efff38a45e41c004daf49be4317f07a036fb4e.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12609
+ Started GET "/assets/fontawesome/fontawesome-webfont-ff82aeed6b9bb6701696c84d1b223d2e682eb78c89117a438ce6cfea8c498995.woff2" for ::1 at 2017-03-08 10:16:21 -0330
12610
+ Started GET "/assets/tinymce/jquery.tinymce.self-d878a911a5016d22c370c5664e84624652229d49dedf2dd83e8ad2de87e32fb6.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12611
+ Started GET "/assets/tinymce-jquery.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12612
+ Started GET "/assets/ubuntu/ubuntu-regular-90543ac04e319b31c4d00aa8929581eb50dfce7e82027b699803d3d3d7d82577.woff" for ::1 at 2017-03-08 10:16:21 -0330
12613
+ Started GET "/assets/guts/vendor/sweetalert.self-07a2b387624bb896641ca2f2f0fcb42793009484b2fff20af03d7ce92a894be8.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12614
+ Started GET "/assets/guts/navigation.self-c8876c71c4b285cf990cf86e930bddd3227dd9fd9f9b0b3c6eb7ea5b61d60f15.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12615
+ Started GET "/assets/guts/media.self-243b7f0ede15390ebb86e655d29b004593461c3106794146a473672b5b07b8de.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12616
+ Started GET "/assets/guts/application.self-db42514109cad7c09b3c218818b4fafbf614183310eab7a50adf12a8c2046e4a.js?body=1" for ::1 at 2017-03-08 10:16:21 -0330
12617
+ Started POST "/guts/session/login" for ::1 at 2017-03-08 10:16:28 -0330
12618
+ Processing by Guts::SessionsController#create as HTML
12619
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LFyedcgt9T08x0R4c+06FP5yD/kEalfeKcg9JG9/X0GOVXKTwO/5aRsIgxBhBj7UsJ+i/EqIuScik9XJ+nGDkg==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@outlook.com", "password"=>"[FILTERED]"}}
12620
+ Guts::Site Load (0.6ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12621
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12622
+ Guts::User Load (0.6ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT ? [["email", "tyler.n.king@outlook.com"], ["LIMIT", 1]]
12623
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application
12624
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (2.9ms)
12625
+ Rendered guts/application/_layout_hook.html.erb (1.0ms)
12626
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (35.5ms)
12627
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (5.4ms)
12628
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (1.2ms)
12629
+ Completed 200 OK in 214ms (Views: 128.0ms | ActiveRecord: 1.3ms)
12630
+
12631
+
12632
+ Started POST "/guts/session/login" for ::1 at 2017-03-08 10:16:35 -0330
12633
+ Processing by Guts::SessionsController#create as HTML
12634
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"rJ2vWFaKlxlUuscd5jbDK+7deVwy2AFnZf1I44LKWD0OlEO+XkibTXN1AHX03cfroDDUWXw6755upqAOF8SE7g==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@gmail.com", "password"=>"[FILTERED]"}}
12635
+ Guts::Site Load (1.3ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12636
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12637
+ Guts::User Load (0.1ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT ? [["email", "tyler.n.king@gmail.com"], ["LIMIT", 1]]
12638
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application
12639
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (3.8ms)
12640
+ Rendered guts/application/_layout_hook.html.erb (1.5ms)
12641
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (37.9ms)
12642
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (3.6ms)
12643
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (1.2ms)
12644
+ Completed 200 OK in 124ms (Views: 119.4ms | ActiveRecord: 1.6ms)
12645
+
12646
+
12647
+ Started POST "/guts/session/login" for ::1 at 2017-03-08 10:16:38 -0330
12648
+ Processing by Guts::SessionsController#create as HTML
12649
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VLz7nJtU66y9NNoNMapOeKmYfLPr7UolrwG46LwX8l/2tRd6k5bn+Jr7HWUjQUq453XRtqUPpNykWlAFKRkujA==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@outlook.com", "password"=>"[FILTERED]"}}
12650
+ Guts::Site Load (0.2ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12651
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12652
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT ? [["email", "tyler.n.king@outlook.com"], ["LIMIT", 1]]
12653
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application
12654
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (2.2ms)
12655
+ Rendered guts/application/_layout_hook.html.erb (0.4ms)
12656
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (30.5ms)
12657
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (2.4ms)
12658
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12659
+ Completed 200 OK in 179ms (Views: 91.2ms | ActiveRecord: 0.6ms)
12660
+
12661
+
12662
+ Started POST "/guts/session/login" for ::1 at 2017-03-08 10:16:41 -0330
12663
+ Processing by Guts::SessionsController#create as HTML
12664
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"K7nodyQDWdsBdkHZZvj75CvWTxfFrcNlO6f/ivqSv3qJsASRLMFVjya5hrF0E/8kZTviEotPLZww/Bdnb5xjqQ==", "commit"=>"Login", "session"=>{"email"=>"tyler.n.king@outlook.com", "password"=>"[FILTERED]"}}
12665
+ Guts::Site Load (0.7ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12666
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
12667
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT ? [["email", "tyler.n.king@outlook.com"], ["LIMIT", 1]]
12668
+ Redirected to http://localhost:3000/guts/home
12669
+ Completed 302 Found in 84ms (ActiveRecord: 1.1ms)
12670
+
12671
+
12672
+ Started GET "/guts/home" for ::1 at 2017-03-08 10:16:41 -0330
12673
+ Processing by Guts::IndexController#index as HTML
12674
+ Guts::Site Load (0.7ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12675
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12676
+ Guts::Group Load (0.5ms) 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]]
12677
+ Guts::Permission Load (0.9ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12678
+ Guts::Authorization Load (0.8ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12679
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/index/index.html.erb within layouts/guts/application
12680
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/index/index.html.erb within layouts/guts/application (0.7ms)
12681
+ Rendered guts/application/_layout_hook.html.erb (0.5ms)
12682
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (24.3ms)
12683
+ Guts::Type Load (0.8ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12684
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (65.3ms)
12685
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12686
+ Completed 200 OK in 221ms (Views: 136.3ms | ActiveRecord: 6.3ms)
12687
+
12688
+
12689
+ Started GET "/guts/options" for ::1 at 2017-03-08 10:16:44 -0330
12690
+ Processing by Guts::OptionsController#index as HTML
12691
+ Guts::Site Load (0.4ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12692
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12693
+ Guts::Group Load (0.3ms) 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]]
12694
+ Guts::Permission Load (0.4ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12695
+ Guts::Authorization Load (0.3ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12696
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application
12697
+  (0.5ms) SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
12698
+ CACHE (0.0ms) SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
12699
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application (8.2ms)
12700
+ Rendered guts/application/_layout_hook.html.erb (0.5ms)
12701
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (31.3ms)
12702
+ Guts::Type Load (0.3ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12703
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (9.6ms)
12704
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12705
+ Completed 200 OK in 163ms (Views: 120.4ms | ActiveRecord: 3.4ms)
12706
+
12707
+
12708
+ Started GET "/guts/options/new" for ::1 at 2017-03-08 10:16:45 -0330
12709
+ Processing by Guts::OptionsController#new as HTML
12710
+ Guts::Site Load (0.3ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12711
+ Guts::User Load (0.4ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12712
+ Guts::Group Load (0.2ms) 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]]
12713
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12714
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12715
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application
12716
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (20.0ms)
12717
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (24.8ms)
12718
+ Rendered guts/application/_layout_hook.html.erb (0.6ms)
12719
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (24.3ms)
12720
+ Guts::Type Load (0.3ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12721
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (9.6ms)
12722
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (1.3ms)
12723
+ Completed 200 OK in 181ms (Views: 139.2ms | ActiveRecord: 2.1ms)
12724
+
12725
+
12726
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:16:45 -0330
12727
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:16:45 -0330
12728
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:16:45 -0330
12729
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:16:45 -0330
12730
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:16:45 -0330
12731
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12732
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12733
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12734
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12735
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12736
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12737
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12738
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12739
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12740
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12741
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12742
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12743
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12744
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12745
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12746
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12747
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12748
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12749
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12750
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12751
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12752
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12753
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:16:46 -0330
12754
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:16:46 -0330
12755
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:16:46 -0330
12756
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:16:46 -0330
12757
+ Started GET "/guts/options/new" for ::1 at 2017-03-08 10:17:36 -0330
12758
+ Processing by Guts::OptionsController#new as HTML
12759
+ Guts::Site Load (0.2ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12760
+ Guts::User Load (0.5ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12761
+ Guts::Group Load (0.2ms) 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]]
12762
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12763
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12764
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application
12765
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (3.4ms)
12766
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (9.9ms)
12767
+ Rendered guts/application/_layout_hook.html.erb (0.8ms)
12768
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (41.6ms)
12769
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12770
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (4.8ms)
12771
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.7ms)
12772
+ Completed 200 OK in 164ms (Views: 125.5ms | ActiveRecord: 1.3ms)
12773
+
12774
+
12775
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:17:39 -0330
12776
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12777
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12778
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12779
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12780
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12781
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12782
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12783
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12784
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12785
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12786
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12787
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12788
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12789
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12790
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12791
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12792
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12793
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12794
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12795
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12796
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12797
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12798
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12799
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12800
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12801
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12802
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:17:39 -0330
12803
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:17:39 -0330
12804
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:17:39 -0330
12805
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:17:39 -0330
12806
+ Started GET "/guts/contents?type=post" for ::1 at 2017-03-08 10:20:59 -0330
12807
+ Processing by Guts::ContentsController#index as HTML
12808
+ Parameters: {"type"=>"post"}
12809
+ Guts::Site Load (0.4ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12810
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12811
+ Guts::Type Load (0.6ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? LIMIT ? [["slug", "post"], ["LIMIT", 1]]
12812
+ Guts::Group Load (0.2ms) 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]]
12813
+ Guts::Permission Load (0.3ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12814
+ Guts::Authorization Load (0.3ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12815
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/contents/index.html.erb within layouts/guts/application
12816
+  (0.8ms) SELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 1
12817
+ Guts::Content Load (1.6ms) SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 1 LIMIT ? OFFSET ? [["LIMIT", 30], ["OFFSET", 0]]
12818
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/index.html.erb within layouts/guts/application (27.2ms)
12819
+ Rendered guts/application/_layout_hook.html.erb (0.4ms)
12820
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (24.7ms)
12821
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12822
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (30.1ms)
12823
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12824
+ Completed 200 OK in 281ms (Views: 143.1ms | ActiveRecord: 10.0ms)
12825
+
12826
+
12827
+ Started GET "/guts/contents/a-sampler-good-sir/edit" for ::1 at 2017-03-08 10:21:04 -0330
12828
+ Processing by Guts::ContentsController#edit as HTML
12829
+ Parameters: {"id"=>"a-sampler-good-sir"}
12830
+ Guts::Site Load (0.1ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12831
+ Guts::User Load (0.1ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12832
+ Guts::Content Load (1.0ms) SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? LIMIT ? [["slug", "a-sampler-good-sir"], ["LIMIT", 1]]
12833
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12834
+ Guts::Group Load (0.1ms) 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]]
12835
+ Guts::Permission Load (0.1ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12836
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12837
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/contents/edit.html.erb within layouts/guts/application
12838
+  (0.8ms) 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::Content"]]
12839
+  (0.5ms) SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 1], ["filable_type", "Guts::Content"]]
12840
+ Guts::Category Load (0.7ms) SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL
12841
+  (0.6ms) SELECT "guts_categories".id FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 1]]
12842
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/_form.html.erb (41.5ms)
12843
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/edit.html.erb within layouts/guts/application (44.8ms)
12844
+ Rendered guts/application/_layout_hook.html.erb (0.4ms)
12845
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (16.5ms)
12846
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12847
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (6.0ms)
12848
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12849
+ Completed 200 OK in 125ms (Views: 100.3ms | ActiveRecord: 5.8ms)
12850
+
12851
+
12852
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:21:04 -0330
12853
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12854
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12855
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12856
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12857
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12858
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12859
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12860
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12861
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12862
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12863
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12864
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12865
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12866
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12867
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12868
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12869
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12870
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12871
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12872
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12873
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12874
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12875
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12876
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12877
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12878
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12879
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:21:04 -0330
12880
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:21:04 -0330
12881
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:21:04 -0330
12882
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:21:04 -0330
12883
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:21:09 -0330
12884
+ Started GET "/guts/contents/a-sampler-good-sir/metafields" for ::1 at 2017-03-08 10:21:11 -0330
12885
+ Processing by Guts::MetafieldsController#index as HTML
12886
+ Parameters: {"fieldable_type"=>"Guts::Content", "content_id"=>"a-sampler-good-sir"}
12887
+ Guts::Site Load (0.6ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12888
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12889
+ Guts::Content Load (0.3ms) SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? LIMIT ? [["slug", "a-sampler-good-sir"], ["LIMIT", 1]]
12890
+ Guts::Group Load (0.3ms) 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]]
12891
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12892
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12893
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/index.html.erb within layouts/guts/application
12894
+  (0.3ms) 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::Content"]]
12895
+ Guts::Metafield Load (0.2ms) SELECT "guts_metafields".* 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::Content"]]
12896
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/index.html.erb within layouts/guts/application (32.2ms)
12897
+ Rendered guts/application/_layout_hook.html.erb (0.3ms)
12898
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (15.8ms)
12899
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12900
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (5.0ms)
12901
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
12902
+ Completed 200 OK in 110ms (Views: 86.4ms | ActiveRecord: 2.7ms)
12903
+
12904
+
12905
+ Started GET "/guts/contents/a-sampler-good-sir/metafields/new" for ::1 at 2017-03-08 10:21:13 -0330
12906
+ Processing by Guts::MetafieldsController#new as HTML
12907
+ Parameters: {"fieldable_type"=>"Guts::Content", "content_id"=>"a-sampler-good-sir"}
12908
+ Guts::Site Load (0.6ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12909
+ Guts::User Load (0.3ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12910
+ Guts::Content Load (0.3ms) SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? LIMIT ? [["slug", "a-sampler-good-sir"], ["LIMIT", 1]]
12911
+ Guts::Group Load (0.2ms) 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]]
12912
+ Guts::Permission Load (0.5ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12913
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12914
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application
12915
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (3.2ms)
12916
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application (6.5ms)
12917
+ Rendered guts/application/_layout_hook.html.erb (0.3ms)
12918
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (14.9ms)
12919
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12920
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (5.1ms)
12921
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.4ms)
12922
+ Completed 200 OK in 84ms (Views: 59.9ms | ActiveRecord: 2.2ms)
12923
+
12924
+
12925
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:21:13 -0330
12926
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12927
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12928
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12929
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12930
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12931
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12932
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12933
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12934
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12935
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12936
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12937
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12938
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12939
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12940
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12941
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12942
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12943
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12944
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12945
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12946
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12947
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12948
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12949
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12950
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12951
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12952
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:21:13 -0330
12953
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:21:13 -0330
12954
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:21:13 -0330
12955
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:21:14 -0330
12956
+ Started GET "/guts/contents/a-sampler-good-sir/metafields/new" for ::1 at 2017-03-08 10:22:01 -0330
12957
+ Processing by Guts::MetafieldsController#new as HTML
12958
+ Parameters: {"fieldable_type"=>"Guts::Content", "content_id"=>"a-sampler-good-sir"}
12959
+ Guts::Site Load (0.6ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
12960
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12961
+ Guts::Content Load (0.2ms) SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? LIMIT ? [["slug", "a-sampler-good-sir"], ["LIMIT", 1]]
12962
+ Guts::Group Load (0.2ms) 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]]
12963
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
12964
+ Guts::Authorization Load (0.2ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
12965
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application
12966
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (3.3ms)
12967
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application (6.6ms)
12968
+ Rendered guts/application/_layout_hook.html.erb (0.4ms)
12969
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (14.7ms)
12970
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
12971
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (6.9ms)
12972
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.6ms)
12973
+ Completed 200 OK in 80ms (Views: 61.5ms | ActiveRecord: 1.8ms)
12974
+
12975
+
12976
+ Started GET "/assets/guts/vendor/sweetalert.self-93ae81483be2e9705db4cd911fa410bc2cf6c24f355dc5ac899de49fab854e63.css?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12977
+ Started GET "/assets/guts/vendor/font-awesome.self-a68eb5c14ddaafce1013286885bab40a1ff29285f097cea7b333b34a85b6a4ee.css?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12978
+ Started GET "/assets/guts/application.self-824368c255f7d2582069a6f7a264f3e99fe17f0df87452937fa3d1e2028fe56c.css?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12979
+ Started GET "/assets/tinymce/tinymce.self-526527aa5e646820f9f6661370872c86d41c57daf0bbc9cddd7bf8554c747dbb.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12980
+ Started GET "/assets/tinymce.self-75a11da44c802486bc6f65640aa48a730f0f684c5c07a42ba3cd1735eb3fb070.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12981
+ Started GET "/assets/tinymce/preinit.self-84328a53e798df12f891eb49871773fd9f925439c8630e9e22423a82ef9e6f89.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12982
+ Started GET "/assets/guts/fonts.self-0da06d35b62d315601e7fb7fedef1f1934927be994475fdca6688624c7c18826.css?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12983
+ Started GET "/assets/guts/vendor/foundation.self-c32902b7f65cb1bd7707442ee620bf9a0a030130c9867e98df01ef3811f569ff.css?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12984
+ Started GET "/assets/guts/vendor/jquery.self-ad66c584c2469d2bb527ba7aef5893549f1554ccc8ab3ccb43bd09ce8c3bf7a1.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12985
+ Started GET "/assets/guts/vendor/handlebars.self-f34dc7344cb4b7ef71749fc1095378a12419c079a2d058bf69e4a6de17d780eb.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12986
+ Started GET "/assets/guts/vendor/foundation.self-649f426f98e4a6db36a77a6984aac07629daff00d65297af03439ba00e7fb99b.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12987
+ Started GET "/assets/guts/vendor/sweetalert.self-07a2b387624bb896641ca2f2f0fcb42793009484b2fff20af03d7ce92a894be8.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12988
+ Started GET "/assets/guts/vendor/sortable.self-18564bbd5cbc6049b2a7404b36efff38a45e41c004daf49be4317f07a036fb4e.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12989
+ Started GET "/assets/tinymce-jquery.self-6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12990
+ Started GET "/assets/tinymce/jquery.tinymce.self-d878a911a5016d22c370c5664e84624652229d49dedf2dd83e8ad2de87e32fb6.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12991
+ Started GET "/assets/guts/media.self-243b7f0ede15390ebb86e655d29b004593461c3106794146a473672b5b07b8de.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12992
+ Started GET "/assets/guts/navigation.self-c8876c71c4b285cf990cf86e930bddd3227dd9fd9f9b0b3c6eb7ea5b61d60f15.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12993
+ Started GET "/assets/guts/application.self-db42514109cad7c09b3c218818b4fafbf614183310eab7a50adf12a8c2046e4a.js?body=1" for ::1 at 2017-03-08 10:22:01 -0330
12994
+ Started GET "/assets/ubuntu/ubuntu-regular-90543ac04e319b31c4d00aa8929581eb50dfce7e82027b699803d3d3d7d82577.woff" for ::1 at 2017-03-08 10:22:01 -0330
12995
+ Started GET "/assets/fontawesome/fontawesome-webfont-ff82aeed6b9bb6701696c84d1b223d2e682eb78c89117a438ce6cfea8c498995.woff2" for ::1 at 2017-03-08 10:22:01 -0330
12996
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:22:04 -0330
12997
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
12998
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
12999
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13000
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13001
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13002
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13003
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13004
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13005
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13006
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13007
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13008
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13009
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13010
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13011
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13012
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13013
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:22:04 -0330
13014
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13015
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13016
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13017
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13018
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13019
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13020
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13021
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13022
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13023
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:22:05 -0330
13024
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:22:05 -0330
13025
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:22:05 -0330
13026
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:22:05 -0330
13027
+ Started GET "/guts/options" for ::1 at 2017-03-08 10:22:10 -0330
13028
+ Processing by Guts::OptionsController#index as HTML
13029
+ Guts::Site Load (0.2ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
13030
+ Guts::User Load (0.2ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13031
+ Guts::Group Load (0.1ms) 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]]
13032
+ Guts::Permission Load (0.1ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
13033
+ Guts::Authorization Load (0.1ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13034
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application
13035
+  (0.4ms) SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
13036
+ CACHE (0.0ms) SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
13037
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application (4.2ms)
13038
+ Rendered guts/application/_layout_hook.html.erb (0.6ms)
13039
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (16.5ms)
13040
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
13041
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (5.2ms)
13042
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.6ms)
13043
+ Completed 200 OK in 78ms (Views: 58.7ms | ActiveRecord: 1.6ms)
13044
+
13045
+
13046
+ Started GET "/guts/options/new" for ::1 at 2017-03-08 10:22:11 -0330
13047
+ Processing by Guts::OptionsController#new as HTML
13048
+ Guts::Site Load (0.2ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
13049
+ Guts::User Load (0.1ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13050
+ Guts::Group Load (0.1ms) 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]]
13051
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
13052
+ Guts::Authorization Load (0.1ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13053
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application
13054
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (2.9ms)
13055
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (6.0ms)
13056
+ Rendered guts/application/_layout_hook.html.erb (0.3ms)
13057
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (13.4ms)
13058
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
13059
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (6.1ms)
13060
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.5ms)
13061
+ Completed 200 OK in 99ms (Views: 74.7ms | ActiveRecord: 1.3ms)
13062
+
13063
+
13064
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:22:13 -0330
13065
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13066
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13067
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13068
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13069
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13070
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13071
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13072
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13073
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13074
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13075
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13076
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13077
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13078
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13079
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13080
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13081
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13082
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13083
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13084
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13085
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13086
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13087
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13088
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13089
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13090
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13091
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:22:13 -0330
13092
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:22:13 -0330
13093
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:22:13 -0330
13094
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:22:13 -0330
13095
+ Started GET "/guts/options/new" for ::1 at 2017-03-08 10:26:52 -0330
13096
+
13097
+ ArgumentError (Invalid route name, already in use: 'guts_types_explode'
13098
+ You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here:
13099
+ http://guides.rubyonrails.org/routing.html#restricting-the-routes-created):
13100
+
13101
+ config/routes.rb:2:in `block in <top (required)>'
13102
+ Rendering /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
13103
+ Rendering /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
13104
+ Rendered /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.2ms)
13105
+ Rendering /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
13106
+ Rendered /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
13107
+ Rendering /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
13108
+ Rendered /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
13109
+ Rendered /Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (68.7ms)
13110
+ Started GET "/guts/options/new" for ::1 at 2017-03-08 10:27:05 -0330
13111
+ Processing by Guts::OptionsController#new as HTML
13112
+ Guts::Site Load (0.3ms) SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT ? [["domain", "localhost"], ["LIMIT", 1]]
13113
+ Guts::User Load (0.4ms) SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13114
+ Guts::Group Load (0.3ms) 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]]
13115
+ Guts::Permission Load (0.2ms) SELECT "guts_permissions".* FROM "guts_permissions" WHERE "guts_permissions"."permissionable_id" = ? AND "guts_permissions"."permissionable_type" = ? [["permissionable_id", 1], ["permissionable_type", "Guts::User"]]
13116
+ Guts::Authorization Load (0.1ms) SELECT "guts_authorizations".* FROM "guts_authorizations" WHERE "guts_authorizations"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13117
+ Rendering /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application
13118
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (44.8ms)
13119
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (50.2ms)
13120
+ Rendered guts/application/_layout_hook.html.erb (1.4ms)
13121
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_head.html.erb (599.7ms)
13122
+ Guts::Type Load (0.2ms) SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
13123
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_sidebar.html.erb (66.3ms)
13124
+ Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/partials/_body.html.erb (0.6ms)
13125
+ Completed 200 OK in 1084ms (Views: 846.9ms | ActiveRecord: 9.7ms)
13126
+
13127
+
13128
+ Started GET "/assets/tinymce/themes/modern/theme.js" for ::1 at 2017-03-08 10:27:08 -0330
13129
+ Started GET "/assets/tinymce/plugins/guts_media/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13130
+ Started GET "/assets/tinymce/plugins/autolink/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13131
+ Started GET "/assets/tinymce/plugins/link/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13132
+ Started GET "/assets/tinymce/plugins/lists/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13133
+ Started GET "/assets/tinymce/plugins/advlist/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13134
+ Started GET "/assets/tinymce/plugins/image/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13135
+ Started GET "/assets/tinymce/plugins/charmap/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13136
+ Started GET "/assets/tinymce/plugins/hr/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13137
+ Started GET "/assets/tinymce/plugins/anchor/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13138
+ Started GET "/assets/tinymce/plugins/pagebreak/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13139
+ Started GET "/assets/tinymce/plugins/searchreplace/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13140
+ Started GET "/assets/tinymce/plugins/code/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13141
+ Started GET "/assets/tinymce/plugins/visualchars/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13142
+ Started GET "/assets/tinymce/plugins/visualblocks/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13143
+ Started GET "/assets/tinymce/plugins/fullscreen/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13144
+ Started GET "/assets/tinymce/plugins/insertdatetime/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13145
+ Started GET "/assets/tinymce/plugins/media/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13146
+ Started GET "/assets/tinymce/plugins/save/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13147
+ Started GET "/assets/tinymce/plugins/nonbreaking/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13148
+ Started GET "/assets/tinymce/plugins/table/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13149
+ Started GET "/assets/tinymce/plugins/contextmenu/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13150
+ Started GET "/assets/tinymce/plugins/directionality/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13151
+ Started GET "/assets/tinymce/plugins/paste/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13152
+ Started GET "/assets/tinymce/plugins/textcolor/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13153
+ Started GET "/assets/tinymce/plugins/colorpicker/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13154
+ Started GET "/assets/tinymce/plugins/textpattern/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13155
+ Started GET "/assets/tinymce/plugins/imagetools/plugin.js" for ::1 at 2017-03-08 10:27:08 -0330
13156
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:27:08 -0330
13157
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:27:08 -0330
13158
+ Started GET "/assets/tinymce/skins/lightgray/fonts/tinymce.woff" for ::1 at 2017-03-08 10:27:08 -0330
13159
+ Started GET "/assets/tinymce/skins/lightgray/skin.min.css" for ::1 at 2017-03-08 10:27:12 -0330
13160
+ Started GET "/assets/tinymce/skins/lightgray/content.min.css" for ::1 at 2017-03-08 10:27:12 -0330