rails-settings-ui 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/rails_settings_ui/settings_helper.rb +9 -2
  3. data/lib/rails-settings-ui/value_types/boolean.rb +6 -1
  4. data/lib/rails-settings-ui/version.rb +1 -1
  5. data/spec/dummy/config/locales/en.yml +5 -0
  6. data/spec/dummy/db/test.sqlite3 +0 -0
  7. data/spec/dummy/log/development.log +462 -0
  8. data/spec/dummy/log/test.log +9366 -54
  9. data/spec/dummy/tmp/cache/702/EF0/settings%3Acompany +1 -1
  10. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_alerts.scssc +0 -0
  11. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_background-variant.scssc +0 -0
  12. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_border-radius.scssc +0 -0
  13. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_buttons.scssc +0 -0
  14. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_center-block.scssc +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_clearfix.scssc +0 -0
  16. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_forms.scssc +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_gradients.scssc +0 -0
  18. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_grid-framework.scssc +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_grid.scssc +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_hide-text.scssc +0 -0
  21. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_image.scssc +0 -0
  22. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_labels.scssc +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_list-group.scssc +0 -0
  24. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_nav-divider.scssc +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_nav-vertical-align.scssc +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_opacity.scssc +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_pagination.scssc +0 -0
  28. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_panels.scssc +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_progress-bar.scssc +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_reset-filter.scssc +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_resize.scssc +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_responsive-visibility.scssc +0 -0
  33. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_size.scssc +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_tab-focus.scssc +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_table-row.scssc +0 -0
  36. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_text-emphasis.scssc +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_text-overflow.scssc +0 -0
  38. data/spec/dummy/tmp/cache/assets/test/sass/1ed760420c95df5f22f5b8edcb52ce829d16ff0c/_vendor-prefixes.scssc +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_alerts.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_badges.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_breadcrumbs.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_button-groups.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_buttons.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_carousel.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_close.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_code.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_component-animations.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_dropdowns.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_forms.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_glyphicons.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_grid.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_input-groups.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_jumbotron.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_labels.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_list-group.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_media.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_mixins.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_modals.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_navbar.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_navs.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_normalize.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_pager.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_pagination.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_panels.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_popovers.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_print.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_progress-bars.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_responsive-embed.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_responsive-utilities.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_scaffolding.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_tables.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_thumbnails.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_tooltip.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_type.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_utilities.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_variables.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sass/550c1f5aa51fb1284062d4a5fbd4a86cb2faef04/_wells.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sass/9ede9f1a3319a430b661f3c66581930a92dff986/application.css.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sass/fbdbea2acbbd9e5cc900876546a1632e5395acfe/bootstrap.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/1151f6634439eaa79ef4501e439efae7 +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/47749d00a555ac788ec20c6dd042074e +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/4d18f255cc8953281b832e0428937c80 +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  86. data/spec/dummy/tmp/capybara/capybara-201403251000145108838835.html +68 -0
  87. data/spec/dummy/tmp/capybara/capybara-201403251029034025293240.html +95 -0
  88. data/spec/dummy/tmp/capybara/capybara-201407142218044166461911.html +101 -0
  89. data/spec/dummy/tmp/capybara/capybara-201506232120315215937316.html +91 -0
  90. data/spec/features/settings_spec.rb +3 -0
  91. metadata +166 -148
  92. data/spec/dummy/tmp/cache/assets/test/sass/a47494abcf68bd910e7e967fb38edd3d44aa78bc/_bootstrap.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sass/cc49ad32e93032d3b61763e4d25a03265e2798c1/application.css.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_alerts.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_background-variant.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_border-radius.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_buttons.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_center-block.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_clearfix.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_forms.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_gradients.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_grid-framework.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_grid.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_hide-text.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_image.scssc +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_labels.scssc +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_list-group.scssc +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_nav-divider.scssc +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_nav-vertical-align.scssc +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_opacity.scssc +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_pagination.scssc +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_panels.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_progress-bar.scssc +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_reset-filter.scssc +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_resize.scssc +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_responsive-visibility.scssc +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_size.scssc +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_tab-focus.scssc +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_table-row.scssc +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_text-emphasis.scssc +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_text-overflow.scssc +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sass/ceff45e94693c7d84bab9d8dfc08c86e1e4a9518/_vendor-prefixes.scssc +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_alerts.scssc +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_badges.scssc +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_breadcrumbs.scssc +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_button-groups.scssc +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_buttons.scssc +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_carousel.scssc +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_close.scssc +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_code.scssc +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_component-animations.scssc +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_dropdowns.scssc +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_forms.scssc +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_glyphicons.scssc +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_grid.scssc +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_input-groups.scssc +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_jumbotron.scssc +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_labels.scssc +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_list-group.scssc +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_media.scssc +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_mixins.scssc +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_modals.scssc +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_navbar.scssc +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_navs.scssc +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_normalize.scssc +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_pager.scssc +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_pagination.scssc +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_panels.scssc +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_popovers.scssc +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_print.scssc +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_progress-bars.scssc +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_responsive-embed.scssc +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_responsive-utilities.scssc +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_scaffolding.scssc +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_tables.scssc +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_thumbnails.scssc +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_tooltip.scssc +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_type.scssc +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_utilities.scssc +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_variables.scssc +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sass/dac060871e2454e4567184da8c4ba3eebc096dd0/_wells.scssc +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/188ee00ad1ef34ffc4b74035bf85113c +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/4e9b0f97bb5605b56c5952447f529cad +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/7da7cc7ebc05f2e88411b9942f24b03b +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b632beddeefcd3caaaf8d834e68f2c66e2af4cf
4
- data.tar.gz: a9c8c0388579cf7cf2059e6ed4f383b92a8fb1fb
3
+ metadata.gz: 9932d113f78297f5fa9be2625ade2d53d313a6fa
4
+ data.tar.gz: 9695001c41dafd6966f9528d602d54373888dd93
5
5
  SHA512:
6
- metadata.gz: 18b4ba73e9d90a70dc62d0b225657cab03fa4e42fa33ebb2b3fc450dfa424e670524c329ac8ccd3ecca7da201486bea3f634552c5635a8ab0f4cfbaf62334e8b
7
- data.tar.gz: a5f7ded4f1a6bf8d5284a1ceda62141384f8a264d6831b8692b3a412cb4cd4410198cd378aeeafdff747bf406b7d54994371ce6dd7490420a30db5e155beb90c
6
+ metadata.gz: 4ef4aba093b46b7e636aa50f4f4685247a5994a0833d3b639eff650c2c3bcf88f488f25a19d63608c787c975218bf0403f00406c3a149fe505c07f7a5a817013
7
+ data.tar.gz: bcf91dacf6e04aaa8b243eca8cd21ac4037918192b3f4355edbde3103688c875d9e750c81c476313ec5cc584f601a9ea06bfa3b7812b35bc9f88653a6ff3ae8b
@@ -23,15 +23,22 @@ module RailsSettingsUi::SettingsHelper
23
23
  def checkboxes_group_field(setting_name, all_settings)
24
24
  field = ""
25
25
  RailsSettingsUi.settings_klass.defaults[setting_name.to_sym].each do |value|
26
- checked = all_settings[setting_name.to_s].map(&:to_s).include?(value)
26
+ checked = all_settings[setting_name.to_s].map(&:to_s).include?(value.to_s)
27
27
  field << check_box_tag("settings[#{setting_name.to_s}][#{value.to_s}]", nil, checked, style: "margin: 0 10px;")
28
28
  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;")
29
29
  end
30
+ help_block_content = I18n.t("settings.attributes.#{setting_name}.help_block", default: '')
31
+ field << content_tag(:span, help_block_content, class: 'help-block') if help_block_content.presence
30
32
  field.html_safe
31
33
  end
32
34
 
33
35
  def checkbox_field(setting_name, setting_value)
34
- check_box_tag("settings[#{setting_name.to_s}]", nil, setting_value).html_safe
36
+ help_block_content = I18n.t("settings.attributes.#{setting_name}.help_block", default: '')
37
+ fields = ""
38
+ fields << hidden_field_tag("settings[#{setting_name.to_s}]", 'off').html_safe
39
+ fields << check_box_tag("settings[#{setting_name.to_s}]", nil, setting_value).html_safe
40
+ fields << content_tag(:span, help_block_content, class: 'help-block') if help_block_content.presence
41
+ fields.html_safe
35
42
  end
36
43
 
37
44
  def text_field(setting_name, setting_value, options = {})
@@ -4,7 +4,12 @@ module RailsSettingsUi
4
4
  module ValueTypes
5
5
  class Boolean < RailsSettingsUi::ValueTypes::Base
6
6
  def cast
7
- self.value = true
7
+ case value
8
+ when 'off'
9
+ self.value = false
10
+ else
11
+ self.value = true
12
+ end
8
13
  end
9
14
  end
10
15
  end
@@ -1,3 +1,3 @@
1
1
  module RailsSettingsUi
2
- VERSION = '0.3.2'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -21,3 +21,8 @@
21
21
 
22
22
  en:
23
23
  hello: "Hello world"
24
+ settings:
25
+ attributes:
26
+ check_something:
27
+ name: Check This Out!
28
+ help_block: You really should check it out!
@@ -0,0 +1,462 @@
1
+  (1.0ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
2
+  (0.7ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
3
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
4
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT version FROM "schema_migrations"
6
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
7
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
8
+  (1.0ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
9
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
10
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
+  (0.1ms) SELECT version FROM "schema_migrations"
12
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
13
+  (5.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
14
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
15
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
16
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17
+  (0.1ms) SELECT version FROM "schema_migrations"
18
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
19
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
20
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
21
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
22
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23
+  (0.1ms) SELECT version FROM "schema_migrations"
24
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
25
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
26
+  (1.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
27
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
28
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29
+  (0.1ms) SELECT version FROM "schema_migrations"
30
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
31
+  (1.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
32
+  (1.0ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
33
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
34
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
35
+  (0.1ms) SELECT version FROM "schema_migrations"
36
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
37
+  (5.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
38
+  (1.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
39
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
40
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
+  (0.1ms) SELECT version FROM "schema_migrations"
42
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
43
+  (5.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
44
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
45
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
46
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
47
+  (0.1ms) SELECT version FROM "schema_migrations"
48
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
49
+  (5.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
50
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
51
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
52
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
53
+  (0.1ms) SELECT version FROM "schema_migrations"
54
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
55
+  (2.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
56
+  (1.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
57
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
58
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59
+  (0.2ms) SELECT version FROM "schema_migrations"
60
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
61
+  (5.8ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
62
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
63
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
64
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
65
+  (0.1ms) SELECT version FROM "schema_migrations"
66
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
67
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
68
+  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
69
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
70
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
71
+  (0.1ms) SELECT version FROM "schema_migrations"
72
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
73
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
74
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
75
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
76
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
77
+  (0.1ms) SELECT version FROM "schema_migrations"
78
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
79
+  (5.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
80
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
81
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
82
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
83
+  (0.1ms) SELECT version FROM "schema_migrations"
84
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
85
+  (1.0ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
86
+  (0.7ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
87
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
88
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
89
+  (0.1ms) SELECT version FROM "schema_migrations"
90
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
91
+  (1.0ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
92
+  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
93
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
94
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
95
+  (0.1ms) SELECT version FROM "schema_migrations"
96
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
97
+  (5.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
98
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
99
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
100
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
101
+  (0.1ms) SELECT version FROM "schema_migrations"
102
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
103
+  (5.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
104
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
105
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
106
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
107
+  (0.1ms) SELECT version FROM "schema_migrations"
108
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
109
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
110
+  (1.0ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
111
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
112
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
113
+  (0.1ms) SELECT version FROM "schema_migrations"
114
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
115
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
116
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
117
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
118
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
119
+  (0.0ms) SELECT version FROM "schema_migrations"
120
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
121
+  (1.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
122
+  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
123
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
124
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
125
+  (0.1ms) SELECT version FROM "schema_migrations"
126
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
127
+  (1.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
128
+  (0.8ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
129
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
130
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
131
+  (0.1ms) SELECT version FROM "schema_migrations"
132
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
133
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
134
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
135
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
136
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
137
+  (0.0ms) SELECT version FROM "schema_migrations"
138
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
139
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
140
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
141
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
142
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
143
+  (0.1ms) SELECT version FROM "schema_migrations"
144
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
145
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
146
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
147
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
148
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
149
+  (0.0ms) SELECT version FROM "schema_migrations"
150
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
151
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
152
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
153
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
154
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
155
+  (0.0ms) SELECT version FROM "schema_migrations"
156
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
157
+  (5.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
158
+  (0.9ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
159
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
160
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
161
+  (0.1ms) SELECT version FROM "schema_migrations"
162
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
163
+  (1.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
164
+  (1.0ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
165
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
166
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
167
+  (0.1ms) SELECT version FROM "schema_migrations"
168
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
169
+  (10.0ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
170
+  (1.4ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
171
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
172
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
173
+  (0.1ms) SELECT version FROM "schema_migrations"
174
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
175
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
176
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
177
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
178
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
179
+  (0.0ms) SELECT version FROM "schema_migrations"
180
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
181
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
182
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
183
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
184
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
185
+  (0.0ms) SELECT version FROM "schema_migrations"
186
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
187
+  (0.6ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
188
+  (0.3ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
189
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
190
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
191
+  (0.1ms) SELECT version FROM "schema_migrations"
192
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
193
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
194
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
195
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
196
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
197
+  (0.0ms) SELECT version FROM "schema_migrations"
198
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
199
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
200
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
201
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
202
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
203
+  (0.1ms) SELECT version FROM "schema_migrations"
204
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
205
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
206
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
207
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
208
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
209
+  (0.0ms) SELECT version FROM "schema_migrations"
210
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
211
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
212
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
213
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
214
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
215
+  (0.0ms) SELECT version FROM "schema_migrations"
216
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
217
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
218
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
219
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
220
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
221
+  (0.0ms) SELECT version FROM "schema_migrations"
222
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
223
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
224
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
225
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
226
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
227
+  (0.0ms) SELECT version FROM "schema_migrations"
228
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
229
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
230
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
231
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
232
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
233
+  (0.0ms) SELECT version FROM "schema_migrations"
234
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
235
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
236
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
237
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
238
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
239
+  (0.0ms) SELECT version FROM "schema_migrations"
240
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
241
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
242
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
243
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
244
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
245
+  (0.0ms) SELECT version FROM "schema_migrations"
246
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
247
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
248
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
249
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
250
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
251
+  (0.0ms) SELECT version FROM "schema_migrations"
252
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
253
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
254
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
255
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
256
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
257
+  (0.0ms) SELECT version FROM "schema_migrations"
258
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
259
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
260
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
261
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
262
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
263
+  (0.0ms) SELECT version FROM "schema_migrations"
264
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
265
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
266
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
267
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
268
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
269
+  (0.1ms) SELECT version FROM "schema_migrations"
270
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
271
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
272
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
273
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
274
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
275
+  (0.1ms) SELECT version FROM "schema_migrations"
276
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
277
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
278
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
279
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
280
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
281
+  (0.0ms) SELECT version FROM "schema_migrations"
282
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
283
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
284
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
285
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
286
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
287
+  (0.0ms) SELECT version FROM "schema_migrations"
288
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
289
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
290
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
291
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
292
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
293
+  (0.0ms) SELECT version FROM "schema_migrations"
294
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
295
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
296
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
297
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
298
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
299
+  (0.0ms) SELECT version FROM "schema_migrations"
300
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
301
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
302
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
303
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
304
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
305
+  (0.0ms) SELECT version FROM "schema_migrations"
306
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
307
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
308
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
309
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
310
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
311
+  (0.0ms) SELECT version FROM "schema_migrations"
312
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
313
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
314
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
315
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
316
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
317
+  (0.0ms) SELECT version FROM "schema_migrations"
318
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
319
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
320
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
321
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
322
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
323
+  (0.0ms) SELECT version FROM "schema_migrations"
324
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
325
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
326
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
327
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
328
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
329
+  (0.1ms) SELECT version FROM "schema_migrations"
330
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
331
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
332
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
333
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
334
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
335
+  (0.0ms) SELECT version FROM "schema_migrations"
336
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
337
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
338
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
339
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
340
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
341
+  (0.0ms) SELECT version FROM "schema_migrations"
342
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
343
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
344
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
345
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
346
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
347
+  (0.0ms) SELECT version FROM "schema_migrations"
348
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
349
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
350
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
351
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
352
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
353
+  (0.0ms) SELECT version FROM "schema_migrations"
354
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
355
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
356
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
357
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
358
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
359
+  (0.0ms) SELECT version FROM "schema_migrations"
360
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
361
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
362
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
363
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
364
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
365
+  (0.0ms) SELECT version FROM "schema_migrations"
366
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
367
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
368
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
369
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
370
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
371
+  (0.0ms) SELECT version FROM "schema_migrations"
372
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
373
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
374
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
375
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
376
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
377
+  (0.1ms) SELECT version FROM "schema_migrations"
378
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
379
+  (0.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
380
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
381
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
382
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
383
+  (0.1ms) SELECT version FROM "schema_migrations"
384
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
385
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
386
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
387
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
388
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
389
+  (0.1ms) SELECT version FROM "schema_migrations"
390
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
391
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
392
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
393
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
394
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
395
+  (0.1ms) SELECT version FROM "schema_migrations"
396
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
397
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
398
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
399
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
400
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
401
+  (0.0ms) SELECT version FROM "schema_migrations"
402
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
403
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
404
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
405
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
406
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
407
+  (0.1ms) SELECT version FROM "schema_migrations"
408
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
409
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
410
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
411
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
412
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
413
+  (0.0ms) SELECT version FROM "schema_migrations"
414
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
415
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
416
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
417
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
418
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
419
+  (0.0ms) SELECT version FROM "schema_migrations"
420
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
421
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
422
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
423
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
424
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
425
+  (0.0ms) SELECT version FROM "schema_migrations"
426
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
427
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
428
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
429
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
430
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
431
+  (0.0ms) SELECT version FROM "schema_migrations"
432
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
433
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
434
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
435
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
436
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
437
+  (0.0ms) SELECT version FROM "schema_migrations"
438
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
439
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
440
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
441
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
442
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
443
+  (0.0ms) SELECT version FROM "schema_migrations"
444
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
445
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
446
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
447
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
448
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
449
+  (0.0ms) SELECT version FROM "schema_migrations"
450
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
451
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
452
+  (0.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
453
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
454
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
455
+  (0.0ms) SELECT version FROM "schema_migrations"
456
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
457
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
458
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
459
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
460
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
461
+  (0.1ms) SELECT version FROM "schema_migrations"
462
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')