rails-settings-ui 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51f748f1bd1dd29d14a0b5b0b360e1cb2a19d2a5
4
- data.tar.gz: 79ea233ea7fbc7f934bb1dbc1ef8129dc0f07a71
3
+ metadata.gz: 9aab7beced8b9d4ad8c8d1db8a1f57d81237d458
4
+ data.tar.gz: 6939537a56542c9b585212946cb0994543794ea5
5
5
  SHA512:
6
- metadata.gz: 05660ac9ee180b2b239c537116e88f8758d42900aacff3f5d21da51d0d41b3c032b956275cbe94a7600a93764f23f42f124330dfcf3f31c6001ac415fa586153
7
- data.tar.gz: 686a29d5719a695f183baa621b9fdcb584f37a71ca7a281babe500d8801e0dd736b358a8e3bd27fb3b3e2ce669fbef53c3381d2f2cbfd9e5262ce24324fee441
6
+ metadata.gz: d71fc6f6a8e54ebed95eb632f5dbcd7818b9e2519e236e6e2f6b314158adb1264235805a2a76d75bcd0c77e7e81ba8c42b7e4ee093e76b041e49e8cd02505660
7
+ data.tar.gz: c761e102026d92125e7d05b9fa68672860a850345fd7334e3cb540ebef4b29b36db65a9dc394999a744ea1a204ed65c1e5ad8492e41cd34816d4cb100f7b73ff
data/README.md CHANGED
@@ -4,8 +4,8 @@ Rails settings UI
4
4
  [![Gem Version](https://badge.fury.io/rb/rails-settings-ui.png)](http://badge.fury.io/rb/rails-settings-ui)
5
5
  [![Build Status](https://travis-ci.org/accessd/rails-settings-ui.svg?branch=master)](https://travis-ci.org/accessd/rails-settings-ui)
6
6
 
7
- A Rails Engine to manage your application settings. Includes validation. Compatible with Rails 4.
8
- It compatible with [rails-settings-cached](https://github.com/huacnlee/rails-settings-cached) gem. Untested, but should work with rails-settings gem.
7
+ A Rails Engine to manage your application settings. Includes validation. Compatible with Rails 5.
8
+ It compatible with [rails-settings-cached](https://github.com/huacnlee/rails-settings-cached) gem.
9
9
 
10
10
  Preview:
11
11
 
@@ -104,6 +104,8 @@ Validations
104
104
 
105
105
  To validation work is required the default settings in the proper format, eg:
106
106
 
107
+ For rails-settings-cached up to 0.5.8:
108
+
107
109
  class Settings < RailsSettings::CachedSettings
108
110
  defaults[:company_name] = "Company name"
109
111
  defaults[:head_name] = "Head name"
@@ -112,6 +114,37 @@ To validation work is required the default settings in the proper format, eg:
112
114
  defaults[:launch_mode] = [:auto, :manual]
113
115
  end
114
116
 
117
+ For rails-settings-cached with version >= 0.6.0 default settings moved to YAML config file (config/app.yml), so
118
+ defaults should looks like:
119
+
120
+ ```yaml
121
+ defaults: &defaults
122
+ rocket_name: "Foo"
123
+ limit: 123
124
+ launch_mode:
125
+ - auto
126
+ - manual
127
+ spaceports:
128
+ - plesetsk
129
+ - baikonur
130
+ style:
131
+ border_color: 'e0e0e0'
132
+ block_color: 'ffffff'
133
+ title:
134
+ font: "Tahoma"
135
+ size: "12"
136
+ color: '107821'
137
+
138
+ development:
139
+ <<: *defaults
140
+
141
+ test:
142
+ <<: *defaults
143
+
144
+ production:
145
+ <<: *defaults
146
+ ```
147
+
115
148
  Views
116
149
  -------------
117
150
 
@@ -140,13 +173,13 @@ Alternatively, to have custom rules just for rails-setting-ui you can:
140
173
  Rails.application.config.to_prepare do
141
174
  RailsSettingsUi::ApplicationController.module_eval do
142
175
  before_filter :check_settings_permissions
143
-
176
+
144
177
  private
145
178
  def check_settings_permissions
146
179
  render status: 403 unless current_user && can_manage_settings?(current_user)
147
180
  end
148
181
  end
149
- end
182
+ end
150
183
 
151
184
  Issues
152
185
  -------------
@@ -44,6 +44,6 @@ class RailsSettingsUi::SettingsController < RailsSettingsUi::ApplicationControll
44
44
  end
45
45
 
46
46
  def default_settings
47
- RailsSettingsUi.settings_klass.defaults
47
+ RailsSettingsUi.default_settings
48
48
  end
49
49
  end
@@ -1,6 +1,6 @@
1
1
  module RailsSettingsUi::SettingsHelper
2
2
  def setting_field(setting_name, setting_value, all_settings)
3
- if !RailsSettingsUi.settings_klass.defaults.has_key?(setting_name.to_sym)
3
+ if !RailsSettingsUi.default_settings.has_key?(setting_name.to_sym)
4
4
  message_for_default_value_missing
5
5
  elsif RailsSettingsUi.settings_displayed_as_select_tag.include?(setting_name.to_sym)
6
6
  select_tag_field(setting_name, setting_value)
@@ -25,7 +25,7 @@ module RailsSettingsUi::SettingsHelper
25
25
 
26
26
  def checkboxes_group_field(setting_name, all_settings)
27
27
  field = ""
28
- RailsSettingsUi.settings_klass.defaults[setting_name.to_sym].each do |value|
28
+ RailsSettingsUi.default_settings[setting_name.to_sym].each do |value|
29
29
  checked = all_settings[setting_name.to_s].map(&:to_s).include?(value.to_s)
30
30
  field << check_box_tag("settings[#{setting_name.to_s}][#{value.to_s}]", nil, checked, style: "margin: 0 10px;")
31
31
  field << label_tag("settings[#{setting_name.to_s}][#{value.to_s}]", I18n.t("settings.attributes.#{setting_name}.labels.#{value}", default: value.to_s), style: "display: inline-block;")
@@ -33,5 +33,13 @@ module RailsSettingsUi
33
33
  def settings_klass
34
34
  settings_class.constantize
35
35
  end
36
+
37
+ def default_settings
38
+ if Gem.loaded_specs['rails-settings-cached'].version.to_s >= '0.6.0'
39
+ RailsSettings::Default.instance.with_indifferent_access
40
+ else
41
+ RailsSettingsUi.settings_klass.defaults
42
+ end
43
+ end
36
44
  end
37
45
  end
@@ -1,3 +1,3 @@
1
1
  module RailsSettingsUi
2
- VERSION = '1.1.0'
2
+ VERSION = '1.2.0'
3
3
  end
@@ -46460,3 +46460,757 @@ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
46460
46460
   (0.1ms) rollback transaction
46461
46461
   (0.1ms) begin transaction
46462
46462
   (0.1ms) rollback transaction
46463
+  (0.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime)
46464
+  (0.2ms) select sqlite_version(*)
46465
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
46466
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
46467
+  (0.1ms) SELECT version FROM "schema_migrations"
46468
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
46469
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
46470
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
46471
+  (0.1ms) begin transaction
46472
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-01-29 16:04:29 UTC], ["updated_at", 2017-01-29 16:04:29 UTC]]
46473
+  (0.0ms) commit transaction
46474
+  (0.1ms) begin transaction
46475
+  (0.1ms) rollback transaction
46476
+  (0.0ms) begin transaction
46477
+  (0.1ms) rollback transaction
46478
+  (0.1ms) begin transaction
46479
+  (0.1ms) rollback transaction
46480
+  (0.1ms) begin transaction
46481
+  (0.2ms) rollback transaction
46482
+  (0.3ms) begin transaction
46483
+  (0.2ms) rollback transaction
46484
+  (0.3ms) begin transaction
46485
+  (0.1ms) rollback transaction
46486
+  (0.1ms) begin transaction
46487
+  (0.1ms) rollback transaction
46488
+  (0.0ms) begin transaction
46489
+  (0.1ms) rollback transaction
46490
+  (0.1ms) begin transaction
46491
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46492
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46493
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46494
+  (0.1ms) rollback transaction
46495
+  (0.0ms) begin transaction
46496
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46497
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46498
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46499
+  (0.0ms) rollback transaction
46500
+  (0.1ms) begin transaction
46501
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46502
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46503
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46504
+  (0.1ms) rollback transaction
46505
+  (0.1ms) begin transaction
46506
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46507
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46508
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46509
+  (0.1ms) rollback transaction
46510
+  (0.0ms) begin transaction
46511
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46512
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46513
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46514
+  (0.1ms) rollback transaction
46515
+  (0.0ms) begin transaction
46516
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46517
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46518
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46519
+  (0.1ms) rollback transaction
46520
+  (0.0ms) begin transaction
46521
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46522
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46523
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46524
+  (0.1ms) rollback transaction
46525
+  (0.0ms) begin transaction
46526
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46527
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46528
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46529
+  (0.1ms) rollback transaction
46530
+  (0.0ms) begin transaction
46531
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46532
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46533
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
46534
+  (0.1ms) rollback transaction
46535
+  (0.0ms) begin transaction
46536
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46537
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46538
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46539
+  (0.1ms) rollback transaction
46540
+  (0.2ms) begin transaction
46541
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46542
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46543
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46544
+  (0.1ms) rollback transaction
46545
+  (0.1ms) begin transaction
46546
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46547
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46548
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
46549
+  (0.1ms) rollback transaction
46550
+  (0.1ms) begin transaction
46551
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46552
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46553
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46554
+  (0.1ms) rollback transaction
46555
+  (0.1ms) begin transaction
46556
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46557
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46558
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46559
+  (0.1ms) rollback transaction
46560
+  (0.1ms) begin transaction
46561
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:04:29 +0300
46562
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46563
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
46564
+  (0.1ms) rollback transaction
46565
+  (0.1ms) begin transaction
46566
+  (0.1ms) rollback transaction
46567
+  (0.1ms) begin transaction
46568
+  (0.1ms) rollback transaction
46569
+  (0.1ms) begin transaction
46570
+  (0.0ms) rollback transaction
46571
+  (0.1ms) begin transaction
46572
+  (0.0ms) rollback transaction
46573
+  (0.0ms) begin transaction
46574
+  (0.0ms) rollback transaction
46575
+  (0.0ms) begin transaction
46576
+  (0.0ms) rollback transaction
46577
+  (0.1ms) begin transaction
46578
+  (0.0ms) rollback transaction
46579
+  (0.1ms) begin transaction
46580
+  (0.1ms) rollback transaction
46581
+  (0.1ms) begin transaction
46582
+  (0.0ms) rollback transaction
46583
+  (0.0ms) begin transaction
46584
+  (0.0ms) rollback transaction
46585
+  (0.0ms) begin transaction
46586
+  (0.0ms) rollback transaction
46587
+  (0.0ms) begin transaction
46588
+  (0.0ms) rollback transaction
46589
+  (0.0ms) begin transaction
46590
+  (0.0ms) rollback transaction
46591
+  (0.0ms) begin transaction
46592
+  (0.0ms) rollback transaction
46593
+  (0.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime)
46594
+  (0.1ms) select sqlite_version(*)
46595
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
46596
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
46597
+  (0.1ms) SELECT version FROM "schema_migrations"
46598
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
46599
+  (0.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
46600
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
46601
+  (0.1ms) begin transaction
46602
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46603
+  (0.0ms) commit transaction
46604
+  (0.1ms) begin transaction
46605
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:19 +0300
46606
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46607
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46608
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46609
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (19.5ms)
46610
+ Completed 200 OK in 34ms (Views: 28.3ms | ActiveRecord: 0.3ms)
46611
+  (0.1ms) SAVEPOINT active_record_1
46612
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "company"], ["value", "--- apple\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46613
+  (0.3ms) RELEASE SAVEPOINT active_record_1
46614
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:19 +0300
46615
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46616
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46617
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46618
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.7ms)
46619
+ Completed 200 OK in 12ms (Views: 7.1ms | ActiveRecord: 0.1ms)
46620
+  (0.2ms) rollback transaction
46621
+  (0.1ms) begin transaction
46622
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:19 +0300
46623
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46624
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46625
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46626
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.2ms)
46627
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
46628
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:19 +0300
46629
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46630
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"new"}, "commit"=>"Save all"}
46631
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46632
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46633
+  (0.2ms) SAVEPOINT active_record_1
46634
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46636
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46637
+  (0.0ms) SAVEPOINT active_record_1
46638
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 150\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46640
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46641
+  (0.0ms) SAVEPOINT active_record_1
46642
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 0.5\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46644
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46645
+  (0.0ms) SAVEPOINT active_record_1
46646
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: ffffff\ntitle:\n font: Tahoma\n size: '12'\n color: '107821'\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46648
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46649
+  (0.0ms) SAVEPOINT active_record_1
46650
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46652
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46653
+  (0.0ms) SAVEPOINT active_record_1
46654
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46656
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46657
+  (0.0ms) SAVEPOINT active_record_1
46658
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "---\n- :auto\n- :manual\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46660
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46661
+  (0.0ms) SAVEPOINT active_record_1
46662
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46664
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46665
+  (0.0ms) SAVEPOINT active_record_1
46666
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :new\n...\n"], ["created_at", 2017-01-29 16:07:19 UTC], ["updated_at", 2017-01-29 16:07:19 UTC]]
46667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46668
+ Redirected to http://www.example.com/settings/
46669
+ Completed 302 Found in 44ms (ActiveRecord: 3.1ms)
46670
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:19 +0300
46671
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46672
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46673
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46674
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.4ms)
46675
+ Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.1ms)
46676
+  (0.1ms) rollback transaction
46677
+  (0.1ms) begin transaction
46678
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46679
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46680
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46681
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46682
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.4ms)
46683
+ Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.1ms)
46684
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46685
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46686
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"552", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46687
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46688
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46689
+  (0.0ms) SAVEPOINT active_record_1
46690
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46692
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46693
+  (0.0ms) SAVEPOINT active_record_1
46694
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 552\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46696
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46697
+  (0.0ms) SAVEPOINT active_record_1
46698
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 0.5\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46700
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46701
+  (0.0ms) SAVEPOINT active_record_1
46702
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: ffffff\ntitle:\n font: Tahoma\n size: '12'\n color: '107821'\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46704
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46705
+  (0.1ms) SAVEPOINT active_record_1
46706
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46708
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46709
+  (0.1ms) SAVEPOINT active_record_1
46710
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46712
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46713
+  (0.0ms) SAVEPOINT active_record_1
46714
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "---\n- :auto\n- :manual\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46716
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46717
+  (0.1ms) SAVEPOINT active_record_1
46718
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46720
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46721
+  (0.0ms) SAVEPOINT active_record_1
46722
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :finished\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46724
+ Redirected to http://www.example.com/settings/
46725
+ Completed 302 Found in 46ms (ActiveRecord: 3.1ms)
46726
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46727
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46728
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46729
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46730
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (3.2ms)
46731
+ Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.1ms)
46732
+  (0.1ms) rollback transaction
46733
+  (0.1ms) begin transaction
46734
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46735
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46736
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46737
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46738
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.2ms)
46739
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.1ms)
46740
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46741
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46742
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\":\"e0e0e0\",\"block_color\":\"000000\"}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46743
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46744
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46745
+  (0.1ms) SAVEPOINT active_record_1
46746
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46748
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46749
+  (0.1ms) SAVEPOINT active_record_1
46750
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 150\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46752
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46753
+  (0.1ms) SAVEPOINT active_record_1
46754
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 0.5\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46756
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46757
+  (0.0ms) SAVEPOINT active_record_1
46758
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: '000000'\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46760
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46761
+  (0.0ms) SAVEPOINT active_record_1
46762
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46764
+ Settings Load (0.4ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46765
+  (0.1ms) SAVEPOINT active_record_1
46766
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46768
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46769
+  (0.0ms) SAVEPOINT active_record_1
46770
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "---\n- :auto\n- :manual\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46772
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46773
+  (0.0ms) SAVEPOINT active_record_1
46774
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46776
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46777
+  (0.1ms) SAVEPOINT active_record_1
46778
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :finished\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46780
+ Redirected to http://www.example.com/settings/
46781
+ Completed 302 Found in 44ms (ActiveRecord: 3.3ms)
46782
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46783
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46784
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46785
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46786
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.1ms)
46787
+ Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 0.2ms)
46788
+  (0.1ms) rollback transaction
46789
+  (0.1ms) begin transaction
46790
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46791
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46792
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46793
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46794
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.2ms)
46795
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.1ms)
46796
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46797
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46798
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"55.4", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46799
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46800
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46801
+  (0.1ms) SAVEPOINT active_record_1
46802
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46804
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46805
+  (0.0ms) SAVEPOINT active_record_1
46806
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 150\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46808
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46809
+  (0.0ms) SAVEPOINT active_record_1
46810
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 55.4\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46812
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46813
+  (0.0ms) SAVEPOINT active_record_1
46814
+ SQL (0.4ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: ffffff\ntitle:\n font: Tahoma\n size: '12'\n color: '107821'\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46816
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46817
+  (0.0ms) SAVEPOINT active_record_1
46818
+ SQL (0.2ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46820
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46821
+  (0.0ms) SAVEPOINT active_record_1
46822
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46824
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46825
+  (0.0ms) SAVEPOINT active_record_1
46826
+ SQL (0.4ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "---\n- :auto\n- :manual\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46828
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46829
+  (0.0ms) SAVEPOINT active_record_1
46830
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46832
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46833
+  (0.0ms) SAVEPOINT active_record_1
46834
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :finished\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46836
+ Redirected to http://www.example.com/settings/
46837
+ Completed 302 Found in 44ms (ActiveRecord: 3.6ms)
46838
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46839
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46840
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46841
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46842
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.5ms)
46843
+ Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 0.2ms)
46844
+  (0.1ms) rollback transaction
46845
+  (0.1ms) begin transaction
46846
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46847
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46848
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46849
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46850
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.3ms)
46851
+ Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.1ms)
46852
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46853
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46854
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46855
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46856
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46857
+  (0.0ms) SAVEPOINT active_record_1
46858
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46860
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46861
+  (0.0ms) SAVEPOINT active_record_1
46862
+ SQL (0.2ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 150\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46864
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46865
+  (0.0ms) SAVEPOINT active_record_1
46866
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 0.5\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46868
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46869
+  (0.0ms) SAVEPOINT active_record_1
46870
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: ffffff\ntitle:\n font: Tahoma\n size: '12'\n color: '107821'\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46872
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46873
+  (0.0ms) SAVEPOINT active_record_1
46874
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46876
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46877
+  (0.0ms) SAVEPOINT active_record_1
46878
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46880
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46881
+  (0.1ms) SAVEPOINT active_record_1
46882
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "---\n- :manual\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46884
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46885
+  (0.0ms) SAVEPOINT active_record_1
46886
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46888
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46889
+  (0.0ms) SAVEPOINT active_record_1
46890
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :finished\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
46891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46892
+ Redirected to http://www.example.com/settings/
46893
+ Completed 302 Found in 42ms (ActiveRecord: 2.9ms)
46894
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46895
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46896
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46897
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46898
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.3ms)
46899
+ Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.1ms)
46900
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46901
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46902
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46903
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46904
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46905
+  (0.1ms) SAVEPOINT active_record_1
46906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46907
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46908
+  (0.0ms) SAVEPOINT active_record_1
46909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46910
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46911
+  (0.1ms) SAVEPOINT active_record_1
46912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46913
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46914
+  (0.0ms) SAVEPOINT active_record_1
46915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46916
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46917
+  (0.0ms) SAVEPOINT active_record_1
46918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46919
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46920
+  (0.0ms) SAVEPOINT active_record_1
46921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46922
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46923
+  (0.0ms) SAVEPOINT active_record_1
46924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46925
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46926
+  (0.1ms) SAVEPOINT active_record_1
46927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46928
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46929
+  (0.0ms) SAVEPOINT active_record_1
46930
+ SQL (0.1ms) UPDATE "settings" SET "value" = ?, "updated_at" = ? WHERE "settings"."id" = ? [["value", "--- []\n"], ["updated_at", 2017-01-29 16:07:20 UTC], ["id", 7]]
46931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46932
+ Redirected to http://www.example.com/settings/
46933
+ Completed 302 Found in 40ms (ActiveRecord: 2.6ms)
46934
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46935
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46936
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46937
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46938
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.4ms)
46939
+ Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 0.2ms)
46940
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46941
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46942
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46943
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46944
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46945
+  (0.0ms) SAVEPOINT active_record_1
46946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46947
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
46948
+  (0.0ms) SAVEPOINT active_record_1
46949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46950
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
46951
+  (0.0ms) SAVEPOINT active_record_1
46952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46953
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
46954
+  (0.1ms) SAVEPOINT active_record_1
46955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46956
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
46957
+  (0.1ms) SAVEPOINT active_record_1
46958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46959
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
46960
+  (0.0ms) SAVEPOINT active_record_1
46961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46962
+ Settings Load (0.3ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
46963
+  (0.0ms) SAVEPOINT active_record_1
46964
+ SQL (0.1ms) UPDATE "settings" SET "value" = ?, "updated_at" = ? WHERE "settings"."id" = ? [["value", "---\n- :auto\n- :manual\n"], ["updated_at", 2017-01-29 16:07:20 UTC], ["id", 7]]
46965
+  (0.2ms) RELEASE SAVEPOINT active_record_1
46966
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
46967
+  (0.0ms) SAVEPOINT active_record_1
46968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46969
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
46970
+  (0.1ms) SAVEPOINT active_record_1
46971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46972
+ Redirected to http://www.example.com/settings/
46973
+ Completed 302 Found in 41ms (ActiveRecord: 2.8ms)
46974
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46975
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46976
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46977
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46978
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.6ms)
46979
+ Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.1ms)
46980
+  (0.1ms) rollback transaction
46981
+  (0.1ms) begin transaction
46982
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46983
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46984
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46985
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46986
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.3ms)
46987
+ Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.1ms)
46988
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46989
+ Processing by RailsSettingsUi::SettingsController#index as HTML
46990
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46991
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
46992
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.4ms)
46993
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.1ms)
46994
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
46995
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
46996
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>"auto", "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
46997
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
46998
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
46999
+  (0.0ms) SAVEPOINT active_record_1
47000
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_name"], ["value", "--- Dummy\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47002
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
47003
+  (0.0ms) SAVEPOINT active_record_1
47004
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "limit"], ["value", "--- 150\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47006
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
47007
+  (0.2ms) SAVEPOINT active_record_1
47008
+ SQL (0.2ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "angle"], ["value", "--- 0.5\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47010
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
47011
+  (0.0ms) SAVEPOINT active_record_1
47012
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "style"], ["value", "---\nborder_color: e0e0e0\nblock_color: ffffff\ntitle:\n font: Tahoma\n size: '12'\n color: '107821'\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47014
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
47015
+  (0.0ms) SAVEPOINT active_record_1
47016
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "check_something"], ["value", "--- true\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47018
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
47019
+  (0.0ms) SAVEPOINT active_record_1
47020
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "description"], ["value", "--- But I must explain to you how all this mistaken idea of denouncing pleasure and\n praising pain was born and I will give you a complete account of the system, and\n expound the actual teachings of the great explorer of the truth, the master-builder\n of human happiness. No one rejects, dislikes, or avoids pleasure itself, because\n it is pleasure, but because those who do not know how to pursue pleasure rationally\n encounter consequences that are extremely painful.\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47022
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
47023
+  (0.1ms) SAVEPOINT active_record_1
47024
+ SQL (0.2ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "mode"], ["value", "--- :auto\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47026
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
47027
+  (0.0ms) SAVEPOINT active_record_1
47028
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "timer"], ["value", "--- 7200\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47030
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
47031
+  (0.0ms) SAVEPOINT active_record_1
47032
+ SQL (0.1ms) INSERT INTO "settings" ("var", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["var", "project_status"], ["value", "--- :finished\n...\n"], ["created_at", 2017-01-29 16:07:20 UTC], ["updated_at", 2017-01-29 16:07:20 UTC]]
47033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47034
+ Redirected to http://www.example.com/settings/
47035
+ Completed 302 Found in 45ms (ActiveRecord: 3.4ms)
47036
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47037
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47038
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47039
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47040
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.9ms)
47041
+ Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.2ms)
47042
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47043
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
47044
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>"manual", "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
47045
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47046
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_name"], ["LIMIT", 1]]
47047
+  (0.0ms) SAVEPOINT active_record_1
47048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47049
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "limit"], ["LIMIT", 1]]
47050
+  (0.0ms) SAVEPOINT active_record_1
47051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47052
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "angle"], ["LIMIT", 1]]
47053
+  (0.1ms) SAVEPOINT active_record_1
47054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47055
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "style"], ["LIMIT", 1]]
47056
+  (0.0ms) SAVEPOINT active_record_1
47057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47058
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "check_something"], ["LIMIT", 1]]
47059
+  (0.1ms) SAVEPOINT active_record_1
47060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47061
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "description"], ["LIMIT", 1]]
47062
+  (0.1ms) SAVEPOINT active_record_1
47063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47064
+ Settings Load (0.1ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "mode"], ["LIMIT", 1]]
47065
+  (0.1ms) SAVEPOINT active_record_1
47066
+ SQL (0.3ms) UPDATE "settings" SET "value" = ?, "updated_at" = ? WHERE "settings"."id" = ? [["value", "--- :manual\n...\n"], ["updated_at", 2017-01-29 16:07:20 UTC], ["id", 7]]
47067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47068
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "timer"], ["LIMIT", 1]]
47069
+  (0.0ms) SAVEPOINT active_record_1
47070
+  (0.1ms) RELEASE SAVEPOINT active_record_1
47071
+ Settings Load (0.2ms) SELECT "settings".* FROM "settings" WHERE (thing_type is NULL and thing_id is NULL) AND "settings"."var" = ? ORDER BY "settings"."id" ASC LIMIT ? [["var", "project_status"], ["LIMIT", 1]]
47072
+  (0.1ms) SAVEPOINT active_record_1
47073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
47074
+ Redirected to http://www.example.com/settings/
47075
+ Completed 302 Found in 42ms (ActiveRecord: 2.7ms)
47076
+ Started GET "/settings/" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47077
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47078
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47079
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47080
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (3.2ms)
47081
+ Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.2ms)
47082
+  (0.1ms) rollback transaction
47083
+  (0.1ms) begin transaction
47084
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47085
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47086
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47087
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47088
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (5.4ms)
47089
+ Completed 200 OK in 14ms (Views: 11.0ms | ActiveRecord: 0.1ms)
47090
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47091
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47092
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47093
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47094
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (4.2ms)
47095
+ Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.1ms)
47096
+  (0.1ms) rollback transaction
47097
+  (0.1ms) begin transaction
47098
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47099
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47100
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47101
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47102
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (7.2ms)
47103
+ Completed 200 OK in 20ms (Views: 14.5ms | ActiveRecord: 0.2ms)
47104
+  (0.1ms) rollback transaction
47105
+  (0.1ms) begin transaction
47106
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47107
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47108
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47109
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47110
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (5.1ms)
47111
+ Completed 200 OK in 18ms (Views: 13.3ms | ActiveRecord: 0.1ms)
47112
+  (0.1ms) rollback transaction
47113
+  (0.1ms) begin transaction
47114
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47115
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47116
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47117
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47118
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (5.2ms)
47119
+ Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.1ms)
47120
+  (0.1ms) rollback transaction
47121
+  (0.1ms) begin transaction
47122
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47123
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47124
+ Settings Load (0.2ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47125
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47126
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.7ms)
47127
+ Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.2ms)
47128
+  (0.1ms) rollback transaction
47129
+  (0.1ms) begin transaction
47130
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47131
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47132
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47133
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47134
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (3.0ms)
47135
+ Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.1ms)
47136
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47137
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47138
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47139
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47140
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.6ms)
47141
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.1ms)
47142
+  (0.1ms) rollback transaction
47143
+  (0.0ms) begin transaction
47144
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47145
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47146
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47147
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47148
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.5ms)
47149
+ Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.1ms)
47150
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47151
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
47152
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"test", "angle"=>"0.5", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
47153
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47154
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47155
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.4ms)
47156
+ Completed 200 OK in 16ms (Views: 8.2ms | ActiveRecord: 0.1ms)
47157
+  (0.1ms) rollback transaction
47158
+  (0.1ms) begin transaction
47159
+ Started GET "/settings" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47160
+ Processing by RailsSettingsUi::SettingsController#index as HTML
47161
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47162
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47163
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.6ms)
47164
+ Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.1ms)
47165
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2017-01-29 19:07:20 +0300
47166
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
47167
+ Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "angle"=>"0.5", "style"=>"test", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}, "timer"=>"7200", "project_status"=>"finished"}, "commit"=>"Save all"}
47168
+ Settings Load (0.1ms) SELECT var, value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
47169
+ Rendering /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application
47170
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.erb within layouts/rails_settings_ui/application (2.1ms)
47171
+ Completed 200 OK in 14ms (Views: 7.1ms | ActiveRecord: 0.1ms)
47172
+  (0.1ms) rollback transaction
47173
+  (0.1ms) begin transaction
47174
+  (0.0ms) rollback transaction
47175
+  (0.0ms) begin transaction
47176
+  (0.0ms) rollback transaction
47177
+  (0.1ms) begin transaction
47178
+  (0.0ms) rollback transaction
47179
+  (0.1ms) begin transaction
47180
+  (0.1ms) rollback transaction
47181
+  (0.0ms) begin transaction
47182
+  (0.0ms) rollback transaction
47183
+  (0.0ms) begin transaction
47184
+  (0.0ms) rollback transaction
47185
+  (0.0ms) begin transaction
47186
+  (0.0ms) rollback transaction
47187
+  (0.1ms) begin transaction
47188
+  (0.0ms) rollback transaction
47189
+  (0.0ms) begin transaction
47190
+  (0.0ms) rollback transaction
47191
+  (0.0ms) begin transaction
47192
+  (0.1ms) rollback transaction
47193
+  (0.1ms) begin transaction
47194
+  (0.0ms) rollback transaction
47195
+  (0.1ms) begin transaction
47196
+  (0.0ms) rollback transaction
47197
+  (0.1ms) begin transaction
47198
+  (0.0ms) rollback transaction
47199
+  (0.0ms) begin transaction
47200
+  (0.0ms) rollback transaction
47201
+  (0.0ms) begin transaction
47202
+  (0.1ms) rollback transaction
47203
+  (0.1ms) begin transaction
47204
+  (0.1ms) rollback transaction
47205
+  (0.1ms) begin transaction
47206
+  (0.1ms) rollback transaction
47207
+  (0.1ms) begin transaction
47208
+  (0.2ms) rollback transaction
47209
+  (0.1ms) begin transaction
47210
+  (0.1ms) rollback transaction
47211
+  (0.1ms) begin transaction
47212
+  (0.1ms) rollback transaction
47213
+  (0.0ms) begin transaction
47214
+  (0.1ms) rollback transaction
47215
+  (0.1ms) begin transaction
47216
+  (0.1ms) rollback transaction
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @value[: auto: manual:@created_atf1474633950.502538:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @value: manual:@created_atf1485706040.5788832:@expires_in0
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @valuef0.5:@created_atf1474633950.485298:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @valuef0.5:@created_atf1485706040.562813:@expires_in0
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @valuei�:@created_atf1474633950.482032:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @valuei�:@created_atf1485706040.559124:@expires_in0
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @valuei :@created_atf1474633950.505559:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @valuei :@created_atf1485706040.582371:@expires_in0
@@ -1,3 +1,3 @@
1
1
  o: ActiveSupport::Cache::Entry: @value{I"border_color:ETI" e0e0e0;TI"block_color;TI" ffffff;TI"
2
2
  title;T{I" font;TI" Tahoma;TI" size;TI"12;TI"
3
- color;TI" 107821;T:@created_atf1474633950.4880672:@expires_in0
3
+ color;TI" 107821;T:@created_atf1485706040.565866:@expires_in0
@@ -1,2 +1,2 @@
1
1
  o: ActiveSupport::Cache::Entry: @valueI"
2
- apple:ET:@created_atf1474633950.608442:@expires_in0
2
+ apple:ET:@created_atf1485706039.8870661:@expires_in0
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"�But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.:ET:@created_atf1474633950.497854:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @valueI"�But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.:ET:@created_atf1485706040.573457:@expires_in0
@@ -1,2 +1,2 @@
1
1
  o: ActiveSupport::Cache::Entry: @valueI"
2
- Dummy:ET:@created_atf1474633950.4796422:@expires_in0
2
+ Dummy:ET:@created_atf1485706040.556405:@expires_in0
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @value:
1
+ o: ActiveSupport::Cache::Entry: @value:
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @valueT:@created_atf1474633950.4933271:@expires_in0
1
+ o: ActiveSupport::Cache::Entry: @valueT:@created_atf1485706040.569942:@expires_in0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-settings-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Morskov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2017-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails