bizarroids_settings 0.1.3 → 0.1.4

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: 3dd0d6d121b7844ca2851ad802cabdeaac235125
4
- data.tar.gz: d7998cb2efe187f82c67bf9b8eecabd0e41726f4
3
+ metadata.gz: 17d6bdcb70f2e25e06cf0820facdfd174860ddc1
4
+ data.tar.gz: 36528603d297c7a7d4084bbc797d23f1bb971669
5
5
  SHA512:
6
- metadata.gz: 77a24e72edd5350d96734f9c16dc3d95050ed246e2e95bf7377f67fa43d2b8e46529f858637fb26754dc5c79365787d51eb66ed34600aca80c27ff09cc7bdc56
7
- data.tar.gz: 96021c066393f9fc712440e0e15139d013e98f0d3328c9a4459c29f79744e74ed3fb4b2153491c8caacea827a312e54d06b166237b2adcbde30b442a778fc6ca
6
+ metadata.gz: 7b55ca8a8b4c447e2cf1ca26dfedf2e5b8c19629c05c36e53383ff27b925c9a5bd69be7558acd222981db1c1cd028dc06a443c15f05d3d522590ecb03c6ec065
7
+ data.tar.gz: 85ad7656a43ac5589a9bab0ab903bd71db5f3a3d1b4c937860abc5af9cfbafec9f15594bbfcb353d5fe2d3cb0bbdb94d28d7174477b0f6bdf7c3eea8a3b1e599
@@ -5,9 +5,11 @@
5
5
  <table class='table table-bordered table-striped'>
6
6
  <thead>
7
7
  <tr>
8
- <% %i(name value_type value).each do |attr_name| %>
9
- <th><%= resource_class.human_attribute_name(attr_name) %></th>
8
+ <th><%= resource_class.human_attribute_name(:name) %></th>
9
+ <% if Bizarroids::Settings.show_value_type %>
10
+ <th><%= resource_class.human_attribute_name(:value_type) %></th>
10
11
  <% end %>
12
+ <th><%= resource_class.human_attribute_name(:value) %></th>
11
13
  <th>&nbsp;</th>
12
14
  </tr>
13
15
  </thead>
@@ -20,7 +22,9 @@
20
22
  <br/><em><%= option.description %></em>
21
23
  <% end %>
22
24
  </td>
23
- <td><%= option.human_type %></td>
25
+ <% if Bizarroids::Settings.show_value_type %>
26
+ <td><%= option.human_type %></td>
27
+ <% end %>
24
28
  <td>
25
29
  <% if option.get_value.present? %>
26
30
  <% case option.value_type %>
@@ -47,6 +47,9 @@ module Bizarroids
47
47
  mattr_accessor :files_storage_dir
48
48
  @@files_storage_dir = 'system/settings'
49
49
 
50
+ mattr_accessor :show_value_type
51
+ @@show_value_type = true
52
+
50
53
  def self.setup
51
54
  yield self
52
55
  end
@@ -1,5 +1,5 @@
1
1
  module Bizarroids
2
2
  module Settings
3
- VERSION = "0.1.3".freeze
3
+ VERSION = "0.1.4".freeze
4
4
  end
5
5
  end
@@ -1,11 +1,11 @@
1
1
  Description:
2
- It will create a migration file
2
+ It will create a migration, initializer and locale files
3
3
 
4
4
  Example:
5
5
  rails generate bizarroids:settings:install
6
6
 
7
7
  This will create:
8
- db/migrate/create_bizarroids_settings_options_table.rb
8
+ db/migrate/create_bizarroids_settings_options.rb
9
9
  config/initialiser/bizarroids_settings.rb
10
10
  config/locales/bizarroids_settings.en.yml
11
11
  config/locales/bizarroids_settings.ru.yml
@@ -31,4 +31,7 @@ Bizarroids::Settings.setup do |config|
31
31
  # The parent controller all Settings controllers inherits from.
32
32
  # Defaults to ApplicationController. This should be set to a string.
33
33
  config.parent_controller = '::ApplicationController'
34
+
35
+ # Show value type column in admin panel
36
+ # config.show_value_type = true
34
37
  end
@@ -95587,3 +95587,907 @@ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collect
95587
95587
  Bizarroids::Settings::OptionsControllerTest: test_the_truth
95588
95588
  -----------------------------------------------------------
95589
95589
   (0.1ms) rollback transaction
95590
+ Bizarroids::Settings::Option Load (0.7ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95591
+  (0.1ms) begin transaction
95592
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 1) LIMIT 1
95593
+  (0.1ms) commit transaction
95594
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'integer_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95595
+  (0.1ms) begin transaction
95596
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'integer_option' AND "bizarroids_settings_options"."id" != 2) LIMIT 1
95597
+  (0.0ms) commit transaction
95598
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'float_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95599
+  (0.1ms) begin transaction
95600
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'float_option' AND "bizarroids_settings_options"."id" != 3) LIMIT 1
95601
+  (0.1ms) commit transaction
95602
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'boolean_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95603
+  (0.0ms) begin transaction
95604
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'boolean_option' AND "bizarroids_settings_options"."id" != 4) LIMIT 1
95605
+  (0.0ms) commit transaction
95606
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'date_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95607
+  (0.0ms) begin transaction
95608
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'date_option' AND "bizarroids_settings_options"."id" != 5) LIMIT 1
95609
+  (0.0ms) commit transaction
95610
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'datetime_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95611
+  (0.0ms) begin transaction
95612
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'datetime_option' AND "bizarroids_settings_options"."id" != 6) LIMIT 1
95613
+  (0.0ms) commit transaction
95614
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'text_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95615
+  (0.0ms) begin transaction
95616
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option' AND "bizarroids_settings_options"."id" != 7) LIMIT 1
95617
+  (0.0ms) commit transaction
95618
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'file_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95619
+  (0.0ms) begin transaction
95620
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'file_option' AND "bizarroids_settings_options"."id" != 8) LIMIT 1
95621
+  (0.0ms) commit transaction
95622
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95623
+  (0.0ms) begin transaction
95624
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_collection' AND "bizarroids_settings_options"."id" != 9) LIMIT 1
95625
+  (0.0ms) commit transaction
95626
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'hidden_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95627
+  (0.0ms) begin transaction
95628
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'hidden_option' AND "bizarroids_settings_options"."id" != 10) LIMIT 1
95629
+  (0.0ms) commit transaction
95630
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'required_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95631
+  (0.0ms) begin transaction
95632
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'required_option' AND "bizarroids_settings_options"."id" != 11) LIMIT 1
95633
+  (0.0ms) commit transaction
95634
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'user_friendly_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95635
+  (0.0ms) begin transaction
95636
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'user_friendly_option' AND "bizarroids_settings_options"."id" != 12) LIMIT 1
95637
+  (0.0ms) commit transaction
95638
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'text_option_with_class' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95639
+  (0.0ms) begin transaction
95640
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'text_option_with_class' AND "bizarroids_settings_options"."id" != 13) LIMIT 1
95641
+  (0.0ms) commit transaction
95642
+ ActiveRecord::SchemaMigration Load (4.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
95643
+  (0.1ms) begin transaction
95644
+ ------------------------------------------------------------
95645
+ Bizarroids::SettingsTest: test_Duplicate_option_raises_error
95646
+ ------------------------------------------------------------
95647
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95648
+  (0.0ms) SAVEPOINT active_record_1
95649
+ SQL (0.3ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95651
+  (0.0ms) SAVEPOINT active_record_1
95652
+ SQL (0.8ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95654
+  (0.0ms) SAVEPOINT active_record_1
95655
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95657
+  (0.0ms) SAVEPOINT active_record_1
95658
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95660
+  (0.0ms) SAVEPOINT active_record_1
95661
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95663
+  (0.0ms) SAVEPOINT active_record_1
95664
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95666
+  (0.0ms) SAVEPOINT active_record_1
95667
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95669
+  (0.0ms) SAVEPOINT active_record_1
95670
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95672
+  (0.0ms) SAVEPOINT active_record_1
95673
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95675
+  (0.0ms) SAVEPOINT active_record_1
95676
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95678
+  (0.0ms) SAVEPOINT active_record_1
95679
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95681
+  (0.0ms) SAVEPOINT active_record_1
95682
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95684
+  (0.0ms) SAVEPOINT active_record_1
95685
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95687
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95688
+  (0.0ms) SAVEPOINT active_record_1
95689
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95690
+ SQL (0.4ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.569452"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.569452"], ["value_type", "string"]]
95691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95692
+  (0.6ms) rollback transaction
95693
+  (0.0ms) begin transaction
95694
+ -------------------------------------------------------------------
95695
+ Bizarroids::SettingsTest: test_Hidden_flag_requires_non_blank_value
95696
+ -------------------------------------------------------------------
95697
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95698
+  (0.0ms) SAVEPOINT active_record_1
95699
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95701
+  (0.0ms) SAVEPOINT active_record_1
95702
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95704
+  (0.0ms) SAVEPOINT active_record_1
95705
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95707
+  (0.0ms) SAVEPOINT active_record_1
95708
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95710
+  (0.0ms) SAVEPOINT active_record_1
95711
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95713
+  (0.0ms) SAVEPOINT active_record_1
95714
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95716
+  (0.0ms) SAVEPOINT active_record_1
95717
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95719
+  (0.0ms) SAVEPOINT active_record_1
95720
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95722
+  (0.0ms) SAVEPOINT active_record_1
95723
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95725
+  (0.0ms) SAVEPOINT active_record_1
95726
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95728
+  (0.0ms) SAVEPOINT active_record_1
95729
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95731
+  (0.0ms) SAVEPOINT active_record_1
95732
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95734
+  (0.0ms) SAVEPOINT active_record_1
95735
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95737
+  (0.5ms) rollback transaction
95738
+  (0.0ms) begin transaction
95739
+ --------------------------------------------------------------------
95740
+ Bizarroids::SettingsTest: test_Require_flag_requires_non_blank_value
95741
+ --------------------------------------------------------------------
95742
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95743
+  (0.0ms) SAVEPOINT active_record_1
95744
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95746
+  (0.0ms) SAVEPOINT active_record_1
95747
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95749
+  (0.0ms) SAVEPOINT active_record_1
95750
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95752
+  (0.0ms) SAVEPOINT active_record_1
95753
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95755
+  (0.0ms) SAVEPOINT active_record_1
95756
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95758
+  (0.0ms) SAVEPOINT active_record_1
95759
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95761
+  (0.0ms) SAVEPOINT active_record_1
95762
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95764
+  (0.0ms) SAVEPOINT active_record_1
95765
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95767
+  (0.0ms) SAVEPOINT active_record_1
95768
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95770
+  (0.0ms) SAVEPOINT active_record_1
95771
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95773
+  (0.0ms) SAVEPOINT active_record_1
95774
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95776
+  (0.0ms) SAVEPOINT active_record_1
95777
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95779
+  (0.0ms) SAVEPOINT active_record_1
95780
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95782
+  (0.5ms) rollback transaction
95783
+  (0.0ms) begin transaction
95784
+ ----------------------------------------------------------
95785
+ Bizarroids::SettingsTest: test_collection_must_be_an_array
95786
+ ----------------------------------------------------------
95787
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95788
+  (0.0ms) SAVEPOINT active_record_1
95789
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95791
+  (0.0ms) SAVEPOINT active_record_1
95792
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95794
+  (0.0ms) SAVEPOINT active_record_1
95795
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95797
+  (0.0ms) SAVEPOINT active_record_1
95798
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95800
+  (0.0ms) SAVEPOINT active_record_1
95801
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95803
+  (0.0ms) SAVEPOINT active_record_1
95804
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95806
+  (0.0ms) SAVEPOINT active_record_1
95807
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95809
+  (0.0ms) SAVEPOINT active_record_1
95810
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95812
+  (0.0ms) SAVEPOINT active_record_1
95813
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95815
+  (0.0ms) SAVEPOINT active_record_1
95816
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95818
+  (0.0ms) SAVEPOINT active_record_1
95819
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95821
+  (0.0ms) SAVEPOINT active_record_1
95822
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95824
+  (0.0ms) SAVEPOINT active_record_1
95825
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95827
+  (0.5ms) rollback transaction
95828
+  (0.1ms) begin transaction
95829
+ ----------------------------------------------------------------
95830
+ Bizarroids::SettingsTest: test_collection_sets_attribute_to_true
95831
+ ----------------------------------------------------------------
95832
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95833
+  (0.0ms) SAVEPOINT active_record_1
95834
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95836
+  (0.0ms) SAVEPOINT active_record_1
95837
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95839
+  (0.0ms) SAVEPOINT active_record_1
95840
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95842
+  (0.0ms) SAVEPOINT active_record_1
95843
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95845
+  (0.0ms) SAVEPOINT active_record_1
95846
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95848
+  (0.0ms) SAVEPOINT active_record_1
95849
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95851
+  (0.0ms) SAVEPOINT active_record_1
95852
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95853
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95854
+  (0.0ms) SAVEPOINT active_record_1
95855
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95857
+  (0.0ms) SAVEPOINT active_record_1
95858
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95860
+  (0.0ms) SAVEPOINT active_record_1
95861
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95863
+  (0.0ms) SAVEPOINT active_record_1
95864
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95866
+  (0.0ms) SAVEPOINT active_record_1
95867
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95869
+  (0.0ms) SAVEPOINT active_record_1
95870
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95872
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95873
+  (0.0ms) SAVEPOINT active_record_1
95874
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95875
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["collection", "t"], ["created_at", "2014-08-05 09:32:15.601917"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.601917"], ["value_type", "string"]]
95876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95877
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95878
+  (0.9ms) rollback transaction
95879
+  (0.1ms) begin transaction
95880
+ ----------------------------------------------------------
95881
+ Bizarroids::SettingsTest: test_creating_option_from_config
95882
+ ----------------------------------------------------------
95883
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95884
+  (0.0ms) SAVEPOINT active_record_1
95885
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95887
+  (0.0ms) SAVEPOINT active_record_1
95888
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95890
+  (0.0ms) SAVEPOINT active_record_1
95891
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95893
+  (0.0ms) SAVEPOINT active_record_1
95894
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95896
+  (0.0ms) SAVEPOINT active_record_1
95897
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95899
+  (0.0ms) SAVEPOINT active_record_1
95900
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95902
+  (0.0ms) SAVEPOINT active_record_1
95903
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95905
+  (0.0ms) SAVEPOINT active_record_1
95906
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95908
+  (0.0ms) SAVEPOINT active_record_1
95909
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95911
+  (0.0ms) SAVEPOINT active_record_1
95912
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95914
+  (0.0ms) SAVEPOINT active_record_1
95915
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95917
+  (0.0ms) SAVEPOINT active_record_1
95918
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95920
+  (0.0ms) SAVEPOINT active_record_1
95921
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95923
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95924
+  (0.0ms) SAVEPOINT active_record_1
95925
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95926
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.612729"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.612729"], ["value_type", "string"]]
95927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95928
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95929
+  (0.5ms) rollback transaction
95930
+  (0.1ms) begin transaction
95931
+ ----------------------------------------------------
95932
+ Bizarroids::SettingsTest: test_get_:key_retuns_value
95933
+ ----------------------------------------------------
95934
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95935
+  (0.0ms) SAVEPOINT active_record_1
95936
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95938
+  (0.0ms) SAVEPOINT active_record_1
95939
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
95940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95941
+  (0.0ms) SAVEPOINT active_record_1
95942
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
95943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95944
+  (0.0ms) SAVEPOINT active_record_1
95945
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
95946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95947
+  (0.0ms) SAVEPOINT active_record_1
95948
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
95949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95950
+  (0.0ms) SAVEPOINT active_record_1
95951
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
95952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95953
+  (0.0ms) SAVEPOINT active_record_1
95954
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
95955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95956
+  (0.0ms) SAVEPOINT active_record_1
95957
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
95958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95959
+  (0.0ms) SAVEPOINT active_record_1
95960
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
95961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95962
+  (0.0ms) SAVEPOINT active_record_1
95963
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
95964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95965
+  (0.0ms) SAVEPOINT active_record_1
95966
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
95967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95968
+  (0.0ms) SAVEPOINT active_record_1
95969
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
95970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95971
+  (0.0ms) SAVEPOINT active_record_1
95972
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
95973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95974
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95975
+  (0.0ms) SAVEPOINT active_record_1
95976
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
95977
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.624579"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.624579"], ["value_type", "string"]]
95978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
95979
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
95980
+  (0.6ms) rollback transaction
95981
+  (0.1ms) begin transaction
95982
+ ----------------------------------------------------------------------------------------------
95983
+ Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_not_configured_key
95984
+ ----------------------------------------------------------------------------------------------
95985
+  (0.4ms) SAVEPOINT active_record_1
95986
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1
95987
+ SQL (0.3ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.634286"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.634286"], ["value_type", "string"]]
95988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95989
+  (0.5ms) rollback transaction
95990
+  (0.0ms) begin transaction
95991
+ ---------------------------------------------------------------------------------------
95992
+ Bizarroids::SettingsTest: test_get_raises_ActiveRecord::RecordNotFound_with_unknown_key
95993
+ ---------------------------------------------------------------------------------------
95994
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
95995
+  (0.1ms) SAVEPOINT active_record_1
95996
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
95997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95998
+  (0.0ms) SAVEPOINT active_record_1
95999
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96001
+  (0.0ms) SAVEPOINT active_record_1
96002
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96004
+  (0.0ms) SAVEPOINT active_record_1
96005
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96007
+  (0.1ms) SAVEPOINT active_record_1
96008
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96010
+  (0.0ms) SAVEPOINT active_record_1
96011
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96013
+  (0.0ms) SAVEPOINT active_record_1
96014
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96016
+  (0.0ms) SAVEPOINT active_record_1
96017
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96019
+  (0.0ms) SAVEPOINT active_record_1
96020
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96022
+  (0.0ms) SAVEPOINT active_record_1
96023
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96025
+  (0.0ms) SAVEPOINT active_record_1
96026
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96028
+  (0.0ms) SAVEPOINT active_record_1
96029
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96031
+  (0.0ms) SAVEPOINT active_record_1
96032
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96034
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96035
+  (0.0ms) SAVEPOINT active_record_1
96036
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96037
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.644134"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.644134"], ["value_type", "string"]]
96038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96039
+  (0.8ms) rollback transaction
96040
+  (0.0ms) begin transaction
96041
+ -------------------------------------------------
96042
+ Bizarroids::SettingsTest: test_is_a_module_module
96043
+ -------------------------------------------------
96044
+  (0.0ms) rollback transaction
96045
+  (0.0ms) begin transaction
96046
+ ----------------------------------------------------------
96047
+ Bizarroids::SettingsTest: test_keys_returns_all_known_keys
96048
+ ----------------------------------------------------------
96049
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96050
+  (0.0ms) SAVEPOINT active_record_1
96051
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96053
+  (0.0ms) SAVEPOINT active_record_1
96054
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96056
+  (0.0ms) SAVEPOINT active_record_1
96057
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96059
+  (0.1ms) SAVEPOINT active_record_1
96060
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96062
+  (0.0ms) SAVEPOINT active_record_1
96063
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96065
+  (0.0ms) SAVEPOINT active_record_1
96066
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96068
+  (0.0ms) SAVEPOINT active_record_1
96069
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96071
+  (0.0ms) SAVEPOINT active_record_1
96072
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96074
+  (0.0ms) SAVEPOINT active_record_1
96075
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96077
+  (0.0ms) SAVEPOINT active_record_1
96078
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96080
+  (0.0ms) SAVEPOINT active_record_1
96081
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96083
+  (0.0ms) SAVEPOINT active_record_1
96084
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96086
+  (0.0ms) SAVEPOINT active_record_1
96087
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96089
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96090
+  (0.0ms) SAVEPOINT active_record_1
96091
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96092
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.654417"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.654417"], ["value_type", "string"]]
96093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96094
+  (0.8ms) rollback transaction
96095
+  (0.0ms) begin transaction
96096
+ ---------------------------------------------
96097
+ Bizarroids::SettingsTest: test_respond_to_#[]
96098
+ ---------------------------------------------
96099
+  (0.0ms) rollback transaction
96100
+  (0.0ms) begin transaction
96101
+ ----------------------------------------------
96102
+ Bizarroids::SettingsTest: test_respond_to_#[]=
96103
+ ----------------------------------------------
96104
+  (0.0ms) rollback transaction
96105
+  (0.0ms) begin transaction
96106
+ ----------------------------------------------
96107
+ Bizarroids::SettingsTest: test_respond_to_#get
96108
+ ----------------------------------------------
96109
+  (0.0ms) rollback transaction
96110
+  (0.0ms) begin transaction
96111
+ ----------------------------------------------
96112
+ Bizarroids::SettingsTest: test_respond_to_#set
96113
+ ----------------------------------------------
96114
+  (0.0ms) rollback transaction
96115
+  (0.0ms) begin transaction
96116
+ -------------------------------------------------------------
96117
+ Bizarroids::SettingsTest: test_set_:key,_value_updates_option
96118
+ -------------------------------------------------------------
96119
+ Bizarroids::Settings::Option Load (0.3ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96120
+  (0.0ms) SAVEPOINT active_record_1
96121
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96123
+  (0.0ms) SAVEPOINT active_record_1
96124
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96126
+  (0.0ms) SAVEPOINT active_record_1
96127
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96129
+  (0.0ms) SAVEPOINT active_record_1
96130
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96132
+  (0.0ms) SAVEPOINT active_record_1
96133
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96135
+  (0.0ms) SAVEPOINT active_record_1
96136
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96138
+  (0.0ms) SAVEPOINT active_record_1
96139
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96141
+  (0.0ms) SAVEPOINT active_record_1
96142
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96144
+  (0.0ms) SAVEPOINT active_record_1
96145
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96147
+  (0.0ms) SAVEPOINT active_record_1
96148
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96150
+  (0.0ms) SAVEPOINT active_record_1
96151
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96153
+  (0.0ms) SAVEPOINT active_record_1
96154
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96156
+  (0.0ms) SAVEPOINT active_record_1
96157
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96159
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96160
+  (0.0ms) SAVEPOINT active_record_1
96161
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96162
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.665718"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.665718"], ["value_type", "string"]]
96163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96164
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96165
+  (0.0ms) SAVEPOINT active_record_1
96166
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'string_option' AND "bizarroids_settings_options"."id" != 14) LIMIT 1
96167
+ SQL (0.1ms) UPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14 [["string_value", "NewStringValue"], ["updated_at", "2014-08-05 09:32:15.667832"]]
96168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96169
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96170
+  (0.6ms) rollback transaction
96171
+  (0.0ms) begin transaction
96172
+ ----------------------------------------------------------------------------------------------
96173
+ Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_not_configured_key
96174
+ ----------------------------------------------------------------------------------------------
96175
+  (0.0ms) SAVEPOINT active_record_1
96176
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'not_configured_key' LIMIT 1
96177
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.671829"], ["key", "not_configured_key"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.671829"], ["value_type", "string"]]
96178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96179
+  (0.5ms) rollback transaction
96180
+  (0.0ms) begin transaction
96181
+ ---------------------------------------------------------------------------------------
96182
+ Bizarroids::SettingsTest: test_set_raises_ActiveRecord::RecordNotFound_with_unknown_key
96183
+ ---------------------------------------------------------------------------------------
96184
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96185
+  (0.0ms) SAVEPOINT active_record_1
96186
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96188
+  (0.0ms) SAVEPOINT active_record_1
96189
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96191
+  (0.1ms) SAVEPOINT active_record_1
96192
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96194
+  (0.0ms) SAVEPOINT active_record_1
96195
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96197
+  (0.0ms) SAVEPOINT active_record_1
96198
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96200
+  (0.0ms) SAVEPOINT active_record_1
96201
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96203
+  (0.0ms) SAVEPOINT active_record_1
96204
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96206
+  (0.0ms) SAVEPOINT active_record_1
96207
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96209
+  (0.1ms) SAVEPOINT active_record_1
96210
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96212
+  (0.0ms) SAVEPOINT active_record_1
96213
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96215
+  (0.0ms) SAVEPOINT active_record_1
96216
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96218
+  (0.0ms) SAVEPOINT active_record_1
96219
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96221
+  (0.0ms) SAVEPOINT active_record_1
96222
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96224
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96225
+  (0.0ms) SAVEPOINT active_record_1
96226
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96227
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.681467"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.681467"], ["value_type", "string"]]
96228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96229
+  (0.6ms) rollback transaction
96230
+  (0.0ms) begin transaction
96231
+ ------------------------------------------------------
96232
+ Bizarroids::SettingsTest: test_setup_block_yields_self
96233
+ ------------------------------------------------------
96234
+  (0.0ms) rollback transaction
96235
+  (0.0ms) begin transaction
96236
+ -----------------------------------------------------------
96237
+ Bizarroids::Settings::OptionsControllerTest: test_the_truth
96238
+ -----------------------------------------------------------
96239
+  (0.1ms) rollback transaction
96240
+  (0.0ms) begin transaction
96241
+ --------------------------------------------------------------------------------------------------
96242
+ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_input_options_should_return_hash
96243
+ --------------------------------------------------------------------------------------------------
96244
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96245
+  (0.0ms) SAVEPOINT active_record_1
96246
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96248
+  (0.0ms) SAVEPOINT active_record_1
96249
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96251
+  (0.0ms) SAVEPOINT active_record_1
96252
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96254
+  (0.0ms) SAVEPOINT active_record_1
96255
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96257
+  (0.0ms) SAVEPOINT active_record_1
96258
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96260
+  (0.0ms) SAVEPOINT active_record_1
96261
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96263
+  (0.0ms) SAVEPOINT active_record_1
96264
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96266
+  (0.0ms) SAVEPOINT active_record_1
96267
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96269
+  (0.0ms) SAVEPOINT active_record_1
96270
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96272
+  (0.0ms) SAVEPOINT active_record_1
96273
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96275
+  (0.0ms) SAVEPOINT active_record_1
96276
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96278
+  (0.0ms) SAVEPOINT active_record_1
96279
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96281
+  (0.0ms) SAVEPOINT active_record_1
96282
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96284
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96285
+  (0.0ms) SAVEPOINT active_record_1
96286
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96287
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.737978"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.737978"], ["value_type", "string"]]
96288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96289
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96290
+  (0.7ms) rollback transaction
96291
+  (0.0ms) begin transaction
96292
+ -------------------------------------------------------------------------------------------------------
96293
+ Bizarroids::Settings::OptionsHelperTest: test_bizarroids_settings_select_collection_should_return_array
96294
+ -------------------------------------------------------------------------------------------------------
96295
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96296
+  (0.0ms) SAVEPOINT active_record_1
96297
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96299
+  (0.0ms) SAVEPOINT active_record_1
96300
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96302
+  (0.0ms) SAVEPOINT active_record_1
96303
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96305
+  (0.0ms) SAVEPOINT active_record_1
96306
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96308
+  (0.0ms) SAVEPOINT active_record_1
96309
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96311
+  (0.0ms) SAVEPOINT active_record_1
96312
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96314
+  (0.0ms) SAVEPOINT active_record_1
96315
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96317
+  (0.0ms) SAVEPOINT active_record_1
96318
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96320
+  (0.0ms) SAVEPOINT active_record_1
96321
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96323
+  (0.0ms) SAVEPOINT active_record_1
96324
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96326
+  (0.0ms) SAVEPOINT active_record_1
96327
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96329
+  (0.0ms) SAVEPOINT active_record_1
96330
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96332
+  (0.0ms) SAVEPOINT active_record_1
96333
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96335
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96336
+  (0.0ms) SAVEPOINT active_record_1
96337
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_collection_option' LIMIT 1
96338
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["collection", "t"], ["created_at", "2014-08-05 09:32:15.748417"], ["key", "string_collection_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.748417"], ["value_type", "string"]]
96339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96340
+  (0.5ms) rollback transaction
96341
+  (0.0ms) begin transaction
96342
+ --------------------------------------
96343
+ BizarroidsTest: test_Bizarroids_module
96344
+ --------------------------------------
96345
+  (0.0ms) rollback transaction
96346
+  (0.0ms) begin transaction
96347
+ ------------------------------------------------------------------------
96348
+ Bizarroids::Settings::InstallGeneratorTest: test_generator_creates_files
96349
+ ------------------------------------------------------------------------
96350
+  (0.1ms) rollback transaction
96351
+  (0.0ms) begin transaction
96352
+ ------------------------------------------------------------------------------
96353
+ Bizarroids::Settings::InstallGeneratorTest: test_generator_runs_without_errors
96354
+ ------------------------------------------------------------------------------
96355
+  (0.0ms) rollback transaction
96356
+  (0.0ms) begin transaction
96357
+ -------------------------------------------------------
96358
+ Bizarroids::Settings::OptionTest: test_avaliable_values
96359
+ -------------------------------------------------------
96360
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96361
+  (0.0ms) SAVEPOINT active_record_1
96362
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96364
+  (0.0ms) SAVEPOINT active_record_1
96365
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96367
+  (0.0ms) SAVEPOINT active_record_1
96368
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96370
+  (0.0ms) SAVEPOINT active_record_1
96371
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96373
+  (0.0ms) SAVEPOINT active_record_1
96374
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96376
+  (0.0ms) SAVEPOINT active_record_1
96377
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96379
+  (0.0ms) SAVEPOINT active_record_1
96380
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96382
+  (0.0ms) SAVEPOINT active_record_1
96383
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96385
+  (0.0ms) SAVEPOINT active_record_1
96386
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96388
+  (0.0ms) SAVEPOINT active_record_1
96389
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96391
+  (0.0ms) SAVEPOINT active_record_1
96392
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96394
+  (0.0ms) SAVEPOINT active_record_1
96395
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96397
+  (0.0ms) SAVEPOINT active_record_1
96398
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96400
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96401
+  (0.0ms) SAVEPOINT active_record_1
96402
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96403
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("collection", "created_at", "key", "position", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["collection", "t"], ["created_at", "2014-08-05 09:32:15.801765"], ["key", "string_option"], ["position", 0], ["updated_at", "2014-08-05 09:32:15.801765"], ["value_type", "string"]]
96404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96405
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96406
+  (0.5ms) rollback transaction
96407
+  (0.0ms) begin transaction
96408
+ ---------------------------------------------------------
96409
+ Bizarroids::Settings::OptionTest: test_create_string_type
96410
+ ---------------------------------------------------------
96411
+  (0.0ms) SAVEPOINT active_record_1
96412
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
96413
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.804957"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.804957"], ["value_type", "string"]]
96414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96415
+  (0.4ms) rollback transaction
96416
+  (0.0ms) begin transaction
96417
+ ---------------------------------------------------------------------
96418
+ Bizarroids::Settings::OptionTest: test_set_value_should_update_option
96419
+ ---------------------------------------------------------------------
96420
+  (0.0ms) SAVEPOINT active_record_1
96421
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
96422
+ SQL (0.2ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.807513"], ["key", "test_string"], ["string_value", "MyString"], ["updated_at", "2014-08-05 09:32:15.807513"], ["value_type", "string"]]
96423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96424
+  (0.0ms) SAVEPOINT active_record_1
96425
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE ("bizarroids_settings_options"."key" = 'test_string' AND "bizarroids_settings_options"."id" != 14) LIMIT 1
96426
+ SQL (0.2ms) UPDATE "bizarroids_settings_options" SET "string_value" = ?, "updated_at" = ? WHERE "bizarroids_settings_options"."id" = 14 [["string_value", "MyNewString"], ["updated_at", "2014-08-05 09:32:15.808926"]]
96427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96428
+  (0.5ms) rollback transaction
96429
+  (0.0ms) begin transaction
96430
+ ------------------------------------------------------------------------------------------------
96431
+ Bizarroids::Settings::OptionTest: test_should_validate_presence_of_value_if_required_set_to_true
96432
+ ------------------------------------------------------------------------------------------------
96433
+  (0.0ms) SAVEPOINT active_record_1
96434
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
96435
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
96436
+ Bizarroids::Settings::Option Exists (0.1ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'test_string' LIMIT 1
96437
+  (0.0ms) rollback transaction
96438
+  (0.1ms) begin transaction
96439
+ ----------------------------------------------------
96440
+ Bizarroids::Settings::OptionTest: test_test_fixtures
96441
+ ----------------------------------------------------
96442
+ Bizarroids::Settings::Option Load (0.2ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" ORDER BY "bizarroids_settings_options"."position" ASC
96443
+  (0.0ms) SAVEPOINT active_record_1
96444
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 1]]
96445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96446
+  (0.0ms) SAVEPOINT active_record_1
96447
+ SQL (0.2ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 2]]
96448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96449
+  (0.0ms) SAVEPOINT active_record_1
96450
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 3]]
96451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96452
+  (0.0ms) SAVEPOINT active_record_1
96453
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 4]]
96454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96455
+  (0.0ms) SAVEPOINT active_record_1
96456
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 5]]
96457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96458
+  (0.0ms) SAVEPOINT active_record_1
96459
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 6]]
96460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96461
+  (0.0ms) SAVEPOINT active_record_1
96462
+ SQL (0.1ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 7]]
96463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96464
+  (0.0ms) SAVEPOINT active_record_1
96465
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 8]]
96466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96467
+  (0.0ms) SAVEPOINT active_record_1
96468
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 9]]
96469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96470
+  (0.0ms) SAVEPOINT active_record_1
96471
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 10]]
96472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96473
+  (0.0ms) SAVEPOINT active_record_1
96474
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 11]]
96475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96476
+  (0.0ms) SAVEPOINT active_record_1
96477
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 12]]
96478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96479
+  (0.0ms) SAVEPOINT active_record_1
96480
+ SQL (0.0ms) DELETE FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."id" = ? [["id", 13]]
96481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96482
+ Bizarroids::Settings::Option Load (0.1ms) SELECT "bizarroids_settings_options".* FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' ORDER BY "bizarroids_settings_options"."position" ASC LIMIT 1
96483
+  (0.0ms) SAVEPOINT active_record_1
96484
+ Bizarroids::Settings::Option Exists (0.0ms) SELECT 1 AS one FROM "bizarroids_settings_options" WHERE "bizarroids_settings_options"."key" = 'string_option' LIMIT 1
96485
+ SQL (0.1ms) INSERT INTO "bizarroids_settings_options" ("created_at", "key", "position", "string_value", "updated_at", "value_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-08-05 09:32:15.837312"], ["key", "string_option"], ["position", 0], ["string_value", "MyStringValue"], ["updated_at", "2014-08-05 09:32:15.837312"], ["value_type", "string"]]
96486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96487
+  (0.0ms) SELECT COUNT(*) FROM "bizarroids_settings_options"
96488
+  (0.5ms) rollback transaction
96489
+  (0.1ms) begin transaction
96490
+ ------------------------------------------------
96491
+ Bizarroids::Settings::OptionTest: test_the_truth
96492
+ ------------------------------------------------
96493
+  (0.0ms) rollback transaction
@@ -31,4 +31,7 @@ Bizarroids::Settings.setup do |config|
31
31
  # The parent controller all Settings controllers inherits from.
32
32
  # Defaults to ApplicationController. This should be set to a string.
33
33
  config.parent_controller = '::ApplicationController'
34
+
35
+ # Show value type column in admin panel
36
+ # config.show_value_type = true
34
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bizarroids_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corlinus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-02 00:00:00.000000000 Z
11
+ date: 2014-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -205,7 +205,7 @@ files:
205
205
  - test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
206
206
  - test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
207
207
  - test/dummy/tmp/generators/config/routes.rb
208
- - test/dummy/tmp/generators/db/migrate/20140802150258_create_bizarroids_settings_options.rb
208
+ - test/dummy/tmp/generators/db/migrate/20140805093215_create_bizarroids_settings_options.rb
209
209
  - test/fixtures/bizarroids/settings/options.yml
210
210
  - test/helpers/bizarroids/settings/options_helper_test.rb
211
211
  - test/integration/navigation_test.rb
@@ -302,7 +302,7 @@ test_files:
302
302
  - test/dummy/tmp/generators/config/locales/bizarroids_settings.en.yml
303
303
  - test/dummy/tmp/generators/config/locales/bizarroids_settings.ru.yml
304
304
  - test/dummy/tmp/generators/config/routes.rb
305
- - test/dummy/tmp/generators/db/migrate/20140802150258_create_bizarroids_settings_options.rb
305
+ - test/dummy/tmp/generators/db/migrate/20140805093215_create_bizarroids_settings_options.rb
306
306
  - test/fixtures/bizarroids/settings/options.yml
307
307
  - test/helpers/bizarroids/settings/options_helper_test.rb
308
308
  - test/integration/navigation_test.rb