kilt-cms 0.9.13 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +3 -5
  3. data/app/controllers/kilt/kilt_controller.rb +1 -1
  4. data/app/views/kilt/form/{boolean.html.erb → _boolean.html.erb} +0 -0
  5. data/app/views/kilt/form/{datetime.html.erb → _datetime.html.erb} +0 -0
  6. data/app/views/kilt/form/{file.html.erb → _file.html.erb} +1 -1
  7. data/app/views/kilt/form/{html.html.erb → _html.html.erb} +0 -0
  8. data/app/views/kilt/form/{image.html.erb → _image.html.erb} +1 -1
  9. data/app/views/kilt/form/{longtext.html.erb → _longtext.html.erb} +0 -0
  10. data/app/views/kilt/form/{number.html.erb → _number.html.erb} +0 -0
  11. data/app/views/kilt/form/{select_one.html.erb → _select_one.html.erb} +0 -0
  12. data/app/views/kilt/form/{text.html.erb → _text.html.erb} +0 -0
  13. data/app/views/kilt/form/{vimeo.html.erb → _vimeo.html.erb} +0 -0
  14. data/app/views/kilt/form/{youtube.html.erb → _youtube.html.erb} +0 -0
  15. data/app/views/kilt/kilt/_form.html.erb +12 -10
  16. data/app/views/kilt/kilt/edit.html.erb +1 -1
  17. data/app/views/kilt/kilt/index.html.erb +3 -2
  18. data/app/views/kilt/kilt/list.html.erb +6 -9
  19. data/app/views/kilt/kilt/new.html.erb +1 -1
  20. data/app/views/layouts/kilt/cms/_menu.html.erb +2 -6
  21. data/lib/generators/kilt/backend_generator.rb +28 -6
  22. data/lib/generators/kilt/templates/backend/create_kilt_objects.rb +13 -0
  23. data/lib/generators/kilt/templates/backend/creds.yml.example +10 -5
  24. data/lib/generators/kilt/templates/backend/creds.yml.rethinkdb.example +22 -0
  25. data/lib/kilt.rb +34 -54
  26. data/lib/kilt/base.rb +3 -2
  27. data/lib/kilt/db/active_record.rb +50 -0
  28. data/lib/kilt/db/rethink_db.rb +108 -0
  29. data/lib/kilt/form.rb +7 -5
  30. data/lib/kilt/formatting.rb +39 -0
  31. data/lib/kilt/object.rb +32 -31
  32. data/lib/kilt/utils.rb +32 -39
  33. data/lib/kilt_object.rb +3 -0
  34. data/test/dummy/config/application.rb +1 -1
  35. data/test/dummy/config/database.yml +5 -0
  36. data/test/dummy/config/initializers/kilt.rb +1 -1
  37. data/test/dummy/config/kilt/config.yml +4 -13
  38. data/test/dummy/config/kilt/creds.yml +16 -11
  39. data/test/dummy/config/kilt/creds.yml.rethinkdb.example +22 -0
  40. data/test/dummy/config/routes.rb +1 -1
  41. data/test/dummy/db/migrate/20140519110428_create_kilt_objects.rb +13 -0
  42. data/test/dummy/db/schema.rb +29 -0
  43. data/test/dummy/log/development.log +551 -0
  44. data/test/dummy/public/uploads/image/timbo.jpg +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/18837248cb3274df9b7c6b0a5dcd56a5 +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/20dffc9385ea740ceca470ee4e4b2197 +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/23733156ea27da67211ba7ff763d76f0 +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/3148655edeef1c319d57d0f9570acfd5 +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/32ab48c63ad3bb6ddc1f419e51adb5db +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/36715e644093cfcb33ac795f3c9d66fe +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/36f9a7f6f43adb582ac6eec43b58eb30 +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/3d8ca1585ee95c5efb388645d66cf377 +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/413be9c73d25c7febe933f4619da7cf8 +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/4a935342c0113b534ad7622234965544 +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/4b5c4a1edd3823a6a6c39e06b6eb230a +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/4c5736bf0bd429296d1a32930364897e +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/4f26158b7a804a3e3c47ce0ceff2798c +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/542fc810f9cd36e7bed9a3e5e9670995 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/56f1e7d57d31bf3315e1e33732d57faa +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/5bea4c2d87ec725262213ed51575b485 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/6b6e86e81f5e8f80bb2b3d1e8f7ed7f3 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/6c2ddc22c04321c269de383e37cb519b +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/7035e5c60f5da3b7fc12c472677483d0 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/704c682957c2beb38a1927ddb66cc557 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/74b6c3e00222b8bf31b0ecf50fcb0d38 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/91021bdb7ebb3d4f6fdf4e49909d4c07 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/914095efd3b33401a7f29f9fb05d72d6 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/9dd98bca318fb820a8451cafce020588 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/9f2c00a36b5b8c713a797b508c778a65 +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/a88ab4e49bb7203b8e0586c38efdd2b0 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/acfc15d25fde8b933b06c91324755751 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/c0671678b70011547b80da0669d031cc +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/d6973c1d43f8ca41b98a6b640fda2616 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/dc676330961fd22be77c48cb77ec065f +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/ddc29f2c13cd99d017fd526b61dcb951 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/de45247cb814cafe20e9e46c79e470fe +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/df0b7c3ac590a286561806e813c2974f +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/dfa8b85e3c1273b7e69839e4e607c3e1 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/e22d705d0c889ec4837f183a9beec0f3 +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/e3a4ad3549e1e57d03698a36daeff406 +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/ef7c8ce46dfc9e9087ce84dbdfdd0011 +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/f4b5dd06a6113950c0f481cbc5a31a66 +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  89. data/test/dummy/tmp/data/meta_request/1c3d4a4b-d7e1-4126-8bfc-572acbc2f675.json +1 -0
  90. data/test/dummy/tmp/data/meta_request/449ff78e-30d2-4cc5-bbb7-3397d04a4c46.json +1 -0
  91. data/test/dummy/tmp/data/meta_request/5974cfb9-99bd-4d5c-a4e1-6e352ecd2dd8.json +1 -0
  92. data/test/dummy/tmp/data/meta_request/960de12b-b1c5-4d44-937b-e3d8c00d682c.json +1 -0
  93. data/test/dummy/tmp/data/meta_request/9df9ad77-1b70-4fb7-ad18-f31f28c60c6c.json +1 -0
  94. data/test/dummy/tmp/data/meta_request/a5374758-4e16-487a-ab11-9a69a1abed2e.json +1 -0
  95. data/test/dummy/tmp/data/meta_request/a65d97b2-df1f-445e-99d5-615c4db5c4e1.json +1 -0
  96. data/test/dummy/tmp/data/meta_request/b3693c6f-23cd-4afe-ae82-38078eaa643a.json +1 -0
  97. data/test/dummy/tmp/data/meta_request/daa1c80a-bad3-4bc1-8f67-d586979cbedc.json +1 -0
  98. data/test/dummy/tmp/data/meta_request/e2e7621f-08e5-46dd-83c2-b87eb6d5fd45.json +1 -0
  99. data/test/empty.sqlite3 +0 -0
  100. data/test/generators/kilt/backend_generator_spec.rb +70 -0
  101. data/test/kilt/form_spec.rb +40 -51
  102. data/test/kilt/formatting_spec.rb +66 -0
  103. data/test/kilt/object_spec.rb +204 -0
  104. data/test/kilt/utils_spec.rb +147 -0
  105. data/test/kilt_object_spec.rb +12 -0
  106. data/test/kilt_spec.rb +422 -0
  107. data/test/minitest_helper.rb +58 -0
  108. metadata +164 -66
  109. data/test/dummy/tmp/data/meta_request/191f094a-5e87-4654-bc80-5acb51d3f903.json +0 -1
  110. data/test/dummy/tmp/data/meta_request/1eb9499d-2e84-47df-ac0a-da308031aa3a.json +0 -1
  111. data/test/dummy/tmp/data/meta_request/300cabd2-6e51-4b1b-ab55-a072049c2a0f.json +0 -1
  112. data/test/dummy/tmp/data/meta_request/3ec7ea74-e7a7-4f4d-9434-e08edfc12b8a.json +0 -1
  113. data/test/dummy/tmp/data/meta_request/5bb81411-321e-4cba-9ffa-87fcd8105ef4.json +0 -1
  114. data/test/dummy/tmp/data/meta_request/9d6e10c1-5b14-4199-852e-9f1e97132b8f.json +0 -1
  115. data/test/dummy/tmp/data/meta_request/a6403ed9-21f1-4a00-9725-4a1c544214f6.json +0 -1
  116. data/test/dummy/tmp/data/meta_request/b4487e0b-0a08-40a3-a364-e715e6765631.json +0 -1
  117. data/test/dummy/tmp/data/meta_request/d399f913-d3a5-4de3-b012-848377a702fc.json +0 -1
  118. data/test/dummy/tmp/data/meta_request/dcf95267-1855-4062-85c8-e880f8d62443.json +0 -1
@@ -1,11 +1,11 @@
1
- name: Demo for Jeremy
1
+ name: Dummy
2
2
  storage:
3
3
  strategy: local
4
4
  objects:
5
- thing:
5
+ bagpipe:
6
6
  fields:
7
7
  name: text
8
- year: number
8
+ weight: number
9
9
  description: longtext
10
10
  markup: html
11
11
  birthday: datetime
@@ -14,13 +14,4 @@ objects:
14
14
  image: image
15
15
  vimeo_video: vimeo
16
16
  youtube_video: youtube
17
- other_file: file
18
- person:
19
- fields:
20
- name: text
21
- address: text
22
- city: text
23
- state: select_one(NY|OR|CA|FL)
24
- zip: number
25
- bio: longtext
26
- avatar: image
17
+ other: file
@@ -1,11 +1,16 @@
1
- db:
2
- host: db.labs.asheavenue.com
3
- port: 28015
4
- db: ashecommunity
5
- auth:
6
- username: ashe
7
- password: avenue
8
- s3:
9
- key: <S3 key>
10
- secret: <S3 secret>
11
- bucket: <S3 bucket>
1
+ test:
2
+ db:
3
+ type: active_record
4
+ development:
5
+ db:
6
+ type: active_record
7
+ production:
8
+ db:
9
+ type: active_record
10
+ # s3:
11
+ # key: <S3 key>
12
+ # secret: <S3 secret>
13
+ # bucket: <S3 bucket>
14
+ # auth:
15
+ # username: ashe
16
+ # password: avenue
@@ -0,0 +1,22 @@
1
+ test:
2
+ db:
3
+ host: 127.0.0.1
4
+ port: 28015
5
+ db: my_app_test
6
+ development:
7
+ db:
8
+ host: 127.0.0.1
9
+ port: 28015
10
+ db: my_app_development
11
+ production:
12
+ db:
13
+ host: ENV['KILT_HOST']
14
+ port: ENV['KILT_PORT']
15
+ db: ENV['KILT_DB']
16
+ s3:
17
+ key: <S3 key>
18
+ secret: <S3 secret>
19
+ bucket: <S3 bucket>
20
+ auth:
21
+ username: <Username>
22
+ password: <Password>
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- mount Kilt::Engine => '/admin', :as => 'kilt_engine'
3
+ mount Kilt::Engine => '/admin', as: 'kilt_engine'
4
4
 
5
5
  get '/' => 'dummy#index'
6
6
 
@@ -0,0 +1,13 @@
1
+ class CreateKiltObjects < ActiveRecord::Migration
2
+ def change
3
+ create_table :kilt_objects do |t|
4
+ t.string :unique_id
5
+ t.string :name
6
+ t.string :object_type
7
+ t.string :slug
8
+ t.text :data
9
+
10
+ t.timestamps
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,29 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140519110428) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "kilt_objects", force: true do |t|
20
+ t.string "unique_id"
21
+ t.string "name"
22
+ t.string "object_type"
23
+ t.string "slug"
24
+ t.text "data"
25
+ t.datetime "created_at"
26
+ t.datetime "updated_at"
27
+ end
28
+
29
+ end
@@ -83590,3 +83590,554 @@ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-02-19 15:34:12 -
83590
83590
 
83591
83591
 
83592
83592
  Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-02-19 15:34:12 -0500
83593
+
83594
+
83595
+ Started GET "/" for 127.0.0.1 at 2014-05-19 11:02:42 -0400
83596
+
83597
+ PG::ConnectionBad - FATAL: database "kilttest" does not exist
83598
+ :
83599
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `connect'
83600
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:548:in `initialize'
83601
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
83602
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
83603
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
83604
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
83605
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
83606
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
83607
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
83608
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
83609
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
83610
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
83611
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
83612
+ activerecord (4.0.1) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
83613
+ activerecord (4.0.1) lib/active_record/connection_handling.rb:53:in `connection'
83614
+ activerecord (4.0.1) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
83615
+ activerecord (4.0.1) lib/active_record/query_cache.rb:43:in `rescue in call'
83616
+ activerecord (4.0.1) lib/active_record/query_cache.rb:32:in `call'
83617
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
83618
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
83619
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3956878110123634975__call__callbacks'
83620
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
83621
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
83622
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
83623
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
83624
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
83625
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
83626
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
83627
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
83628
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
83629
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
83630
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
83631
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
83632
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
83633
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
83634
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
83635
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
83636
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
83637
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
83638
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
83639
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83640
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
83641
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
83642
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83643
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
83644
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83645
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
83646
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
83647
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
83648
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
83649
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
83650
+
83651
+
83652
+
83653
+ Started POST "/__better_errors/70117481598500/variables" for 127.0.0.1 at 2014-05-19 11:02:42 -0400
83654
+
83655
+
83656
+ Started GET "/favicon.ico" for 127.0.0.1 at 2014-05-19 11:02:43 -0400
83657
+
83658
+ PG::ConnectionBad - FATAL: database "kilttest" does not exist
83659
+ :
83660
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `connect'
83661
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:548:in `initialize'
83662
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
83663
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
83664
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
83665
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
83666
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
83667
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
83668
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
83669
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
83670
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
83671
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
83672
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
83673
+ activerecord (4.0.1) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
83674
+ activerecord (4.0.1) lib/active_record/connection_handling.rb:53:in `connection'
83675
+ activerecord (4.0.1) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
83676
+ activerecord (4.0.1) lib/active_record/query_cache.rb:43:in `rescue in call'
83677
+ activerecord (4.0.1) lib/active_record/query_cache.rb:32:in `call'
83678
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
83679
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
83680
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3956878110123634975__call__callbacks'
83681
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
83682
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
83683
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
83684
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
83685
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
83686
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
83687
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
83688
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
83689
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
83690
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
83691
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
83692
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
83693
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
83694
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
83695
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
83696
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
83697
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
83698
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
83699
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
83700
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83701
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
83702
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
83703
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83704
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
83705
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83706
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
83707
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
83708
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
83709
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
83710
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
83711
+
83712
+
83713
+
83714
+ Started GET "/" for 127.0.0.1 at 2014-05-19 11:03:06 -0400
83715
+ Processing by DummyController#index as HTML
83716
+ Rendered dummy/index.html.erb within layouts/application (3.0ms)
83717
+ Completed 200 OK in 163ms (Views: 161.2ms | ActiveRecord: 0.0ms)
83718
+
83719
+
83720
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83721
+
83722
+
83723
+ Started GET "/assets/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83724
+
83725
+
83726
+ Started GET "/assets/dummy.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83727
+
83728
+
83729
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83730
+
83731
+
83732
+ Started GET "/assets/html5shiv.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83733
+
83734
+
83735
+ Started GET "/assets/mediaqueries.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83736
+
83737
+
83738
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83739
+
83740
+
83741
+ Started GET "/favicon.ico" for 127.0.0.1 at 2014-05-19 11:03:07 -0400
83742
+
83743
+ ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
83744
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
83745
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
83746
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
83747
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
83748
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
83749
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
83750
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
83751
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
83752
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
83753
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
83754
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
83755
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
83756
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83757
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
83758
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
83759
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83760
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
83761
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83762
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
83763
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
83764
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
83765
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
83766
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
83767
+
83768
+
83769
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
83770
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
83771
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.8ms)
83772
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (31.7ms)
83773
+
83774
+
83775
+ Started GET "/admin" for 127.0.0.1 at 2014-05-19 11:03:09 -0400
83776
+
83777
+ ActionController::RoutingError (No route matches [GET] "/admin"):
83778
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
83779
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
83780
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
83781
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
83782
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
83783
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
83784
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
83785
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
83786
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
83787
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
83788
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
83789
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
83790
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83791
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
83792
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
83793
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83794
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
83795
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83796
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
83797
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
83798
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
83799
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
83800
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
83801
+
83802
+
83803
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
83804
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
83805
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
83806
+ Rendered /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (15.3ms)
83807
+
83808
+
83809
+ Started GET "/admin" for 127.0.0.1 at 2014-05-19 11:03:26 -0400
83810
+ Processing by Kilt::KiltController#index as HTML
83811
+ Filter chain halted as :authorize rendered or redirected
83812
+ Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms)
83813
+
83814
+
83815
+ Started GET "/admin" for 127.0.0.1 at 2014-05-19 11:03:27 -0400
83816
+ Processing by Kilt::KiltController#index as HTML
83817
+ Filter chain halted as :authorize rendered or redirected
83818
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)
83819
+
83820
+
83821
+ Started GET "/admin" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83822
+ Processing by Kilt::KiltController#index as HTML
83823
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/index.html.erb within layouts/kilt/cms (1.3ms)
83824
+ Rendered /Users/tim/Sites/Kilt/app/views/layouts/kilt/cms/_menu.html.erb (11.7ms)
83825
+ Completed 200 OK in 150ms (Views: 147.5ms | ActiveRecord: 0.0ms)
83826
+
83827
+
83828
+ Started GET "/assets/kilt/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83829
+
83830
+
83831
+ Started GET "/assets/kilt/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83832
+
83833
+
83834
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83835
+
83836
+
83837
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83838
+
83839
+
83840
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83841
+
83842
+
83843
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83844
+
83845
+
83846
+ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83847
+
83848
+
83849
+ Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:03:46 -0400
83850
+
83851
+
83852
+ Started GET "/admin/bagpipes" for 127.0.0.1 at 2014-05-19 11:03:48 -0400
83853
+ Processing by Kilt::KiltController#list as HTML
83854
+ Parameters: {"types"=>"bagpipes"}
83855
+ KiltObject Load (1.3ms) SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."object_type" = 'bagpipe'
83856
+ PG::UndefinedTable: ERROR: relation "kilt_objects" does not exist
83857
+ LINE 1: SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_obj...
83858
+ ^
83859
+ : SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."object_type" = 'bagpipe'
83860
+ Completed 500 in 22ms
83861
+
83862
+ PG::UndefinedTable - ERROR: relation "kilt_objects" does not exist
83863
+ LINE 1: SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_obj...
83864
+ ^
83865
+ :
83866
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:774:in `exec_no_cache'
83867
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:138:in `block in exec_query'
83868
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
83869
+ activesupport (4.0.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
83870
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
83871
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
83872
+ activerecord (4.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:891:in `select'
83873
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'
83874
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all'
83875
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:76:in `cache_sql'
83876
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
83877
+ activerecord (4.0.1) lib/active_record/querying.rb:36:in `find_by_sql'
83878
+ activerecord (4.0.1) lib/active_record/relation.rb:585:in `exec_queries'
83879
+ activerecord (4.0.1) lib/active_record/relation.rb:471:in `load'
83880
+ activerecord (4.0.1) lib/active_record/relation.rb:220:in `to_a'
83881
+ activerecord (4.0.1) lib/active_record/relation/delegation.rb:12:in `map'
83882
+ /Users/tim/Sites/Kilt/lib/kilt/db/active_record.rb:14:in `find_all_by_type'
83883
+ /Users/tim/Sites/Kilt/lib/kilt.rb:80:in `get_collection'
83884
+ /Users/tim/Sites/Kilt/lib/kilt.rb:24:in `method_missing'
83885
+ /Users/tim/Sites/Kilt/app/controllers/kilt/kilt_controller.rb:24:in `list'
83886
+ actionpack (4.0.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
83887
+ actionpack (4.0.1) lib/abstract_controller/base.rb:189:in `process_action'
83888
+ actionpack (4.0.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
83889
+ actionpack (4.0.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
83890
+ activesupport (4.0.1) lib/active_support/callbacks.rb:413:in `_run__3513902130905207298__process_action__callbacks'
83891
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
83892
+ actionpack (4.0.1) lib/abstract_controller/callbacks.rb:17:in `process_action'
83893
+ actionpack (4.0.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
83894
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
83895
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `block in instrument'
83896
+ activesupport (4.0.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
83897
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `instrument'
83898
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
83899
+ actionpack (4.0.1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
83900
+ activerecord (4.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
83901
+ actionpack (4.0.1) lib/abstract_controller/base.rb:136:in `process'
83902
+ actionpack (4.0.1) lib/abstract_controller/rendering.rb:44:in `process'
83903
+ actionpack (4.0.1) lib/action_controller/metal.rb:195:in `dispatch'
83904
+ actionpack (4.0.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
83905
+ actionpack (4.0.1) lib/action_controller/metal.rb:231:in `block in action'
83906
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
83907
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:48:in `call'
83908
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:71:in `block in call'
83909
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `call'
83910
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:680:in `call'
83911
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83912
+ railties (4.0.1) lib/rails/railtie/configurable.rb:30:in `method_missing'
83913
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:71:in `block in call'
83914
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `call'
83915
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:680:in `call'
83916
+ meta_request (0.2.8) lib/meta_request/middlewares/app_request_handler.rb:13:in `call'
83917
+ rack-contrib (1.1.0) lib/rack/contrib/response_headers.rb:17:in `call'
83918
+ meta_request (0.2.8) lib/meta_request/middlewares/headers.rb:16:in `call'
83919
+ meta_request (0.2.8) lib/meta_request/middlewares/meta_request_handler.rb:13:in `call'
83920
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
83921
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
83922
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
83923
+ actionpack (4.0.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
83924
+ actionpack (4.0.1) lib/action_dispatch/middleware/flash.rb:241:in `call'
83925
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
83926
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
83927
+ actionpack (4.0.1) lib/action_dispatch/middleware/cookies.rb:486:in `call'
83928
+ activerecord (4.0.1) lib/active_record/query_cache.rb:36:in `call'
83929
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
83930
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
83931
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__4248329420754934168__call__callbacks'
83932
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
83933
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
83934
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
83935
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
83936
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
83937
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
83938
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
83939
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
83940
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
83941
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
83942
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
83943
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
83944
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
83945
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
83946
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
83947
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
83948
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
83949
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
83950
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
83951
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83952
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
83953
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
83954
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
83955
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
83956
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
83957
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
83958
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
83959
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
83960
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
83961
+ /Users/tim/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
83962
+
83963
+
83964
+
83965
+ Started POST "/admin/__better_errors/70255358359720/variables" for 127.0.0.1 at 2014-05-19 11:03:48 -0400
83966
+  (7.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
83967
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
83968
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
83969
+ Migrating to CreateKiltObjects (20140519110428)
83970
+  (0.2ms) BEGIN
83971
+  (6.8ms) CREATE TABLE "kilt_objects" ("id" serial primary key, "unique_id" character varying(255), "name" character varying(255), "object_type" character varying(255), "slug" character varying(255), "data" text, "created_at" timestamp, "updated_at" timestamp) 
83972
+ SQL (1.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140519110428"]]
83973
+  (0.6ms) COMMIT
83974
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
83975
+
83976
+
83977
+ Started GET "/admin/bagpipes" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83978
+ Processing by Kilt::KiltController#list as HTML
83979
+ Parameters: {"types"=>"bagpipes"}
83980
+ KiltObject Load (1.2ms) SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."object_type" = 'bagpipe'
83981
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/list.html.erb within layouts/kilt/cms (15.6ms)
83982
+ Rendered /Users/tim/Sites/Kilt/app/views/layouts/kilt/cms/_menu.html.erb (3.3ms)
83983
+ Completed 200 OK in 108ms (Views: 85.8ms | ActiveRecord: 10.9ms)
83984
+
83985
+
83986
+ Started GET "/assets/kilt/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83987
+
83988
+
83989
+ Started GET "/assets/kilt/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83990
+
83991
+
83992
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83993
+
83994
+
83995
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83996
+
83997
+
83998
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
83999
+
84000
+
84001
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
84002
+
84003
+
84004
+ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
84005
+
84006
+
84007
+ Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:14 -0400
84008
+
84009
+
84010
+ Started GET "/admin/bagpipe/new" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84011
+ Processing by Kilt::KiltController#new as HTML
84012
+ Parameters: {"types"=>"bagpipe"}
84013
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_text.html.erb (0.6ms)
84014
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_number.html.erb (0.6ms)
84015
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_longtext.html.erb (0.5ms)
84016
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_html.html.erb (0.5ms)
84017
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_datetime.html.erb (0.5ms)
84018
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_boolean.html.erb (0.8ms)
84019
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_select_one.html.erb (0.8ms)
84020
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_image.html.erb (1.3ms)
84021
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_vimeo.html.erb (1.5ms)
84022
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_youtube.html.erb (1.5ms)
84023
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_file.html.erb (1.3ms)
84024
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/_form.html.erb (25.4ms)
84025
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/new.html.erb within layouts/kilt/cms (27.4ms)
84026
+ Rendered /Users/tim/Sites/Kilt/app/views/layouts/kilt/cms/_menu.html.erb (1.2ms)
84027
+ Completed 200 OK in 38ms (Views: 35.4ms | ActiveRecord: 0.0ms)
84028
+
84029
+
84030
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84031
+
84032
+
84033
+ Started GET "/assets/kilt/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84034
+
84035
+
84036
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84037
+
84038
+
84039
+ Started GET "/assets/kilt/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84040
+
84041
+
84042
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84043
+
84044
+
84045
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84046
+
84047
+
84048
+ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84049
+
84050
+
84051
+ Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84052
+
84053
+
84054
+ Started GET "/assets/kilt/ui-bg_flat_100_ffffff_40x100.png" for 127.0.0.1 at 2014-05-19 11:05:17 -0400
84055
+
84056
+
84057
+ Started POST "/admin/bagpipes" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84058
+ Processing by Kilt::KiltController#create as HTML
84059
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"RiORy2iVlpvfltHE/P5yImpHPiMX/xd4gz95hgcpx3c=", "bagpipe"=>{"name"=>"Test Bagpipe", "weight"=>"12121", "description"=>"dsfaafsdf", "markup"=>"<pre>hi</pre>", "birthday"=>"", "has_stuff"=>"true", "pick_one"=>"Green", "image"=>#<ActionDispatch::Http::UploadedFile:0x007feaa4a6f220 @tempfile=#<Tempfile:/var/folders/2_/vxkz03vx13bg5zrtkvycvx100000gn/T/RackMultipart20140519-22347-1qjwbmu>, @original_filename="timbo.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"bagpipe[image]\"; filename=\"timbo.jpg\"\r\nContent-Type: image/jpeg\r\n">, "image-hidden"=>"", "vimeo_video"=>"", "youtube_video"=>"l3HYLLruJis", "other-hidden"=>""}, "types"=>"bagpipes"}
84060
+ KiltObject Load (1.3ms) SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."slug" = 'test-bagpipe' ORDER BY "kilt_objects"."id" ASC LIMIT 1
84061
+  (0.3ms) BEGIN
84062
+ SQL (6.6ms) INSERT INTO "kilt_objects" ("created_at", "data", "object_type", "slug", "unique_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Mon, 19 May 2014 15:06:22 UTC +00:00], ["data", "---\nname: Test Bagpipe\nweight: '12121'\ndescription: dsfaafsdf\nmarkup: <pre>hi</pre>\nbirthday: ''\nhas_stuff: 'true'\npick_one: Green\nimage: timbo.jpg\nvimeo_video: ''\nyoutube_video: l3HYLLruJis\nupdated_at: 2014-05-19 11:06:22.168922000 -04:00\ncreated_at: 2014-05-19 11:06:22.168922000 -04:00\nunique_id: '1400511982168'\ntype: bagpipe\nslug: test-bagpipe\n"], ["object_type", "bagpipe"], ["slug", "test-bagpipe"], ["unique_id", "1400511982168"], ["updated_at", Mon, 19 May 2014 15:06:22 UTC +00:00]]
84063
+  (0.5ms) COMMIT
84064
+ Redirected to http://localhost:3000/admin/bagpipes/test-bagpipe
84065
+ Completed 302 Found in 36ms (ActiveRecord: 10.8ms)
84066
+
84067
+
84068
+ Started GET "/admin/bagpipes/test-bagpipe" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84069
+ Processing by Kilt::KiltController#edit as HTML
84070
+ Parameters: {"types"=>"bagpipes", "slug"=>"test-bagpipe"}
84071
+ KiltObject Load (1.0ms) SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."slug" = 'test-bagpipe' ORDER BY "kilt_objects"."id" ASC LIMIT 1
84072
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_text.html.erb (0.2ms)
84073
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_number.html.erb (0.2ms)
84074
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_longtext.html.erb (0.2ms)
84075
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_html.html.erb (0.2ms)
84076
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_datetime.html.erb (0.1ms)
84077
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_boolean.html.erb (0.3ms)
84078
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_select_one.html.erb (0.3ms)
84079
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_image.html.erb (0.5ms)
84080
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_vimeo.html.erb (0.3ms)
84081
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_youtube.html.erb (0.3ms)
84082
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/form/_file.html.erb (0.2ms)
84083
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/_form.html.erb (44.1ms)
84084
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/edit.html.erb within layouts/kilt/cms (47.0ms)
84085
+ Rendered /Users/tim/Sites/Kilt/app/views/layouts/kilt/cms/_menu.html.erb (1.1ms)
84086
+ Completed 200 OK in 62ms (Views: 54.5ms | ActiveRecord: 1.0ms)
84087
+
84088
+
84089
+ Started GET "/assets/kilt/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84090
+
84091
+
84092
+ Started GET "/assets/kilt/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84093
+
84094
+
84095
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84096
+
84097
+
84098
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84099
+
84100
+
84101
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84102
+
84103
+
84104
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84105
+
84106
+
84107
+ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84108
+
84109
+
84110
+ Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:22 -0400
84111
+
84112
+
84113
+ Started GET "/admin/bagpipe" for 127.0.0.1 at 2014-05-19 11:06:29 -0400
84114
+ Processing by Kilt::KiltController#list as HTML
84115
+ Parameters: {"types"=>"bagpipe"}
84116
+ KiltObject Load (0.6ms) SELECT "kilt_objects".* FROM "kilt_objects" WHERE "kilt_objects"."object_type" = 'bagpipe'
84117
+ Rendered /Users/tim/Sites/Kilt/app/views/kilt/kilt/list.html.erb within layouts/kilt/cms (9.5ms)
84118
+ Rendered /Users/tim/Sites/Kilt/app/views/layouts/kilt/cms/_menu.html.erb (1.3ms)
84119
+ Completed 200 OK in 24ms (Views: 17.2ms | ActiveRecord: 0.6ms)
84120
+
84121
+
84122
+ Started GET "/assets/kilt/application.css?body=1" for 127.0.0.1 at 2014-05-19 11:06:29 -0400
84123
+
84124
+
84125
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84126
+
84127
+
84128
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84129
+
84130
+
84131
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84132
+
84133
+
84134
+ Started GET "/assets/kilt/screen.css?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84135
+
84136
+
84137
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84138
+
84139
+
84140
+ Started GET "/assets/kilt/kilt.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400
84141
+
84142
+
84143
+ Started GET "/assets/kilt/application.js?body=1" for 127.0.0.1 at 2014-05-19 11:06:30 -0400