acts_as_referred 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +89 -0
  4. data/Rakefile +30 -0
  5. data/lib/acts_as_referred.rb +21 -0
  6. data/lib/acts_as_referred/class_methods.rb +14 -0
  7. data/lib/acts_as_referred/controller.rb +87 -0
  8. data/lib/acts_as_referred/instance_methods.rb +20 -0
  9. data/lib/acts_as_referred/model.rb +146 -0
  10. data/lib/acts_as_referred/version.rb +3 -0
  11. data/lib/tasks/acts_as_referred_tasks.rake +20 -0
  12. data/test/acts_as_referred_test.rb +97 -0
  13. data/test/dummy/README.rdoc +28 -0
  14. data/test/dummy/Rakefile +6 -0
  15. data/test/dummy/app/assets/javascripts/application.js +13 -0
  16. data/test/dummy/app/assets/javascripts/bookings.js +2 -0
  17. data/test/dummy/app/assets/javascripts/orders.js +2 -0
  18. data/test/dummy/app/assets/javascripts/referees.js +2 -0
  19. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  20. data/test/dummy/app/assets/stylesheets/bookings.css +4 -0
  21. data/test/dummy/app/assets/stylesheets/orders.css +4 -0
  22. data/test/dummy/app/assets/stylesheets/referees.css +4 -0
  23. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  24. data/test/dummy/app/controllers/application_controller.rb +8 -0
  25. data/test/dummy/app/controllers/bookings_controller.rb +58 -0
  26. data/test/dummy/app/controllers/orders_controller.rb +58 -0
  27. data/test/dummy/app/helpers/referees_helper.rb +2 -0
  28. data/test/dummy/app/models/booking.rb +3 -0
  29. data/test/dummy/app/models/order.rb +3 -0
  30. data/test/dummy/app/views/bookings/_form.html.erb +25 -0
  31. data/test/dummy/app/views/bookings/edit.html.erb +6 -0
  32. data/test/dummy/app/views/bookings/index.html.erb +29 -0
  33. data/test/dummy/app/views/bookings/new.html.erb +5 -0
  34. data/test/dummy/app/views/bookings/show.html.erb +18 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/test/dummy/app/views/orders/_form.html.erb +25 -0
  37. data/test/dummy/app/views/orders/edit.html.erb +6 -0
  38. data/test/dummy/app/views/orders/index.html.erb +29 -0
  39. data/test/dummy/app/views/orders/new.html.erb +5 -0
  40. data/test/dummy/app/views/orders/show.html.erb +14 -0
  41. data/test/dummy/bin/bundle +3 -0
  42. data/test/dummy/bin/rails +4 -0
  43. data/test/dummy/bin/rake +4 -0
  44. data/test/dummy/config.ru +4 -0
  45. data/test/dummy/config/application.rb +23 -0
  46. data/test/dummy/config/boot.rb +5 -0
  47. data/test/dummy/config/database.yml +25 -0
  48. data/test/dummy/config/environment.rb +5 -0
  49. data/test/dummy/config/environments/development.rb +29 -0
  50. data/test/dummy/config/environments/production.rb +80 -0
  51. data/test/dummy/config/environments/test.rb +36 -0
  52. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  53. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  54. data/test/dummy/config/initializers/inflections.rb +16 -0
  55. data/test/dummy/config/initializers/mime_types.rb +5 -0
  56. data/test/dummy/config/initializers/secret_token.rb +12 -0
  57. data/test/dummy/config/initializers/session_store.rb +3 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +23 -0
  60. data/test/dummy/config/routes.rb +59 -0
  61. data/test/dummy/db/development.sqlite3 +0 -0
  62. data/test/dummy/db/migrate/20130926092411_create_bookings.rb +10 -0
  63. data/test/dummy/db/migrate/20131001152526_create_referee.rb +19 -0
  64. data/test/dummy/db/schema.rb +40 -0
  65. data/test/dummy/db/test.sqlite3 +0 -0
  66. data/test/dummy/lib/tasks/acts_as_referred_tasks.rake +20 -0
  67. data/test/dummy/log/development.log +2650 -0
  68. data/test/dummy/log/test.log +7254 -0
  69. data/test/dummy/public/404.html +58 -0
  70. data/test/dummy/public/422.html +58 -0
  71. data/test/dummy/public/500.html +57 -0
  72. data/test/dummy/public/favicon.ico +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/00e0c908a950734c71f87d732990a88e +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/0bd337b765d2a19a6d65ec976c83d97e +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/12274417909f62d494c4179d6f8bcbe3 +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/2fdee9aa34e89b0182a7523c4484e5f6 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/31da0321b4952412da9e1d9a1118e056 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/36a1fb9df9acb7490c5ac1284b2de56b +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/5c9d9893cd8a52cf99a46b89383cc603 +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/7fa2dc3bb1d9661e45d7e10e8b2f9190 +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/a3756bfb305f629747ba5349a5b02be0 +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/b1e18c11e5c99b4c7871deabd029f38e +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/b78b6f63e1fe791ab77083cd45eb5105 +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/bb1f3aab6b0702db7f17992ade69175a +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/cb9b952d9398fec90275bc0ef98f4b0c +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/d1558f1aaf36f9640ae86479f11375df +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/e4468469b981ba614a29626880137332 +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/e66cbc95d30d07acdf168b5c0de354d7 +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/f464df872844f50aadec7fd7d56783af +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/fd365928616248fd8efc56ed88d265ad +0 -0
  100. data/test/test_helper.rb +15 -0
  101. metadata +261 -0
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = '92f82d55f28ce9d3e4ee4dde59483ae647507f3a596578adfc8973a0ba10fe81dbdea49382e3a2efa76e0b32241ed1f516efdc5acbac423453a1c035e58d8699'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,59 @@
1
+ Dummy::Application.routes.draw do
2
+
3
+ resources :orders
4
+
5
+ resources :bookings
6
+
7
+ # The priority is based upon order of creation: first created -> highest priority.
8
+ # See how all your routes lay out with "rake routes".
9
+
10
+ # You can have the root of your site routed with "root"
11
+ # root 'welcome#index' # Example of regular route:
12
+ # get 'products/:id' => 'catalog#view'
13
+
14
+ # Example of named route that can be invoked with purchase_url(id: product.id)
15
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
16
+
17
+ # Example resource route (maps HTTP verbs to controller actions automatically):
18
+ # resources :products
19
+
20
+ # Example resource route with options:
21
+ # resources :products do
22
+ # member do
23
+ # get 'short'
24
+ # post 'toggle'
25
+ # end
26
+ #
27
+ # collection do
28
+ # get 'sold'
29
+ # end
30
+ # end
31
+
32
+ # Example resource route with sub-resources:
33
+ # resources :products do
34
+ # resources :comments, :sales
35
+ # resource :seller
36
+ # end
37
+
38
+ # Example resource route with more complex sub-resources:
39
+ # resources :products do
40
+ # resources :comments
41
+ # resources :sales do
42
+ # get 'recent', on: :collection
43
+ # end
44
+ # end
45
+
46
+ # Example resource route with concerns:
47
+ # concern :toggleable do
48
+ # post 'toggle'
49
+ # end
50
+ # resources :posts, concerns: :toggleable
51
+ # resources :photos, concerns: :toggleable
52
+
53
+ # Example resource route within a namespace:
54
+ # namespace :admin do
55
+ # # Directs /admin/products/* to Admin::ProductsController
56
+ # # (app/controllers/admin/products_controller.rb)
57
+ # resources :products
58
+ # end
59
+ end
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateBookings < ActiveRecord::Migration
2
+ def change
3
+ create_table :bookings do |t|
4
+ t.string :thing
5
+ t.string :referrer
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,19 @@
1
+ class CreateReferee < ActiveRecord::Migration
2
+ def change
3
+ create_table :referees do |t|
4
+ t.integer :referable_id
5
+ t.string :referable_type
6
+ t.boolean :is_campaign
7
+ t.string :origin
8
+ t.string :origin_host
9
+ t.string :request
10
+ t.string :request_query
11
+ t.string :campaign
12
+ t.string :keywords
13
+ t.integer :visits
14
+ end
15
+ add_index :referees, :referable_id
16
+ add_index :referees, :referable_type
17
+ add_index :referees, :is_campaign
18
+ end
19
+ end
@@ -0,0 +1,40 @@
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: 20131001152526) do
15
+
16
+ create_table "bookings", force: true do |t|
17
+ t.string "thing"
18
+ t.string "referrer"
19
+ t.datetime "created_at"
20
+ t.datetime "updated_at"
21
+ end
22
+
23
+ create_table "referees", force: true do |t|
24
+ t.integer "referable_id"
25
+ t.string "referable_type"
26
+ t.boolean "is_campaign"
27
+ t.string "origin"
28
+ t.string "origin_host"
29
+ t.string "request"
30
+ t.string "request_query"
31
+ t.string "campaign"
32
+ t.string "keywords"
33
+ t.integer "visits"
34
+ end
35
+
36
+ add_index "referees", ["is_campaign"], name: "index_referees_on_is_campaign"
37
+ add_index "referees", ["referable_id"], name: "index_referees_on_referable_id"
38
+ add_index "referees", ["referable_type"], name: "index_referees_on_referable_type"
39
+
40
+ end
Binary file
@@ -0,0 +1,20 @@
1
+ namespace :acts_as_referred do
2
+
3
+ desc "This will setup a database-table 'referees'"
4
+ task :create_table do
5
+ args = %w{ referable_id:integer:index
6
+ referable_type:string:index
7
+ is_campaign:boolean:index
8
+ origin:string
9
+ origin_host:string
10
+ request:string
11
+ request_query:string
12
+ campaign:string
13
+ keywords:string
14
+ visits:integer
15
+
16
+ }
17
+ system("bundle exec rails g migration CreateReferee #{args.join(' ')}")
18
+ end
19
+
20
+ end
@@ -0,0 +1,2650 @@
1
+ 0
2
+  (160.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
3
+  (143.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateBookings (20130926092411)
6
+  (0.1ms) begin transaction
7
+  (0.9ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
8
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092411"]]
9
+  (159.1ms) commit transaction
10
+ Migrating to CreateOrders (20130926092429)
11
+  (0.2ms) begin transaction
12
+  (0.9ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referred_from" varchar(255), "created_at" datetime, "updated_at" datetime) 
13
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092429"]]
14
+  (149.6ms) commit transaction
15
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+ Migrating to CreateReferee (20130926221902)
18
+  (0.1ms) begin transaction
19
+  (0.4ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "raw" varchar(255), "campaign" varchar(255), "keywords" varchar(255)) 
20
+  (0.2ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
21
+  (0.1ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
22
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926221902"]]
23
+  (140.1ms) commit transaction
24
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+  (127.4ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
26
+  (143.0ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referred_from" varchar(255), "created_at" datetime, "updated_at" datetime)
27
+  (132.1ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "raw" varchar(255), "campaign" varchar(255), "keywords" varchar(255)) 
28
+  (155.2ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
29
+  (156.6ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
30
+  (164.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
31
+  (166.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+  (0.4ms) SELECT version FROM "schema_migrations"
33
+  (165.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130926221902')
34
+  (166.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130926092429')
35
+  (166.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130926092411')
36
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
+ Migrating to CreateReferee (20130926221902)
39
+  (0.1ms) begin transaction
40
+  (0.5ms) DROP INDEX "index_referees_on_referable_type"
41
+  (0.8ms) DROP INDEX "index_referees_on_referable_id"
42
+  (0.5ms) DROP TABLE "referees"
43
+ SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130926221902'
44
+  (176.9ms) commit transaction
45
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
+  (162.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
47
+  (143.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
48
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
49
+ Migrating to CreateBookings (20130926092411)
50
+  (0.1ms) begin transaction
51
+  (0.9ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
52
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092411"]]
53
+  (145.9ms) commit transaction
54
+ Migrating to CreateReferee (20130926221902)
55
+  (0.2ms) begin transaction
56
+  (0.9ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "raw" varchar(255), "campaign" varchar(255), "keywords" varchar(255)) 
57
+  (0.3ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
58
+  (0.3ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
59
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926221902"]]
60
+  (149.4ms) commit transaction
61
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+  (156.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
63
+  (132.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
64
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+ Migrating to CreateBookings (20130926092411)
66
+  (0.1ms) begin transaction
67
+  (0.5ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
68
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092411"]]
69
+  (134.1ms) commit transaction
70
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
+ Migrating to CreateReferee (20131001141007)
73
+  (0.1ms) begin transaction
74
+  (0.5ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "is_campaign" boolean, "is_organic" boolean, "is_natural" boolean, "origin" varchar(255), "origin_host" varchar(255), "request" varchar(255), "request_query" varchar(255), "campaign" varchar(255), "keywords" varchar(255), "visits" integer) 
75
+  (0.2ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
76
+  (0.2ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
77
+  (0.1ms) CREATE INDEX "index_referees_on_is_campaign" ON "referees" ("is_campaign")
78
+  (0.1ms) CREATE INDEX "index_referees_on_is_organic" ON "referees" ("is_organic")
79
+  (0.1ms) CREATE INDEX "index_referees_on_is_natural" ON "referees" ("is_natural")
80
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131001141007"]]
81
+  (155.7ms) commit transaction
82
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
+  (0.2ms) SELECT COUNT(*) FROM "bookings"
84
+  (156.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
85
+  (132.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+ Migrating to CreateBookings (20130926092411)
88
+  (0.1ms) begin transaction
89
+  (0.9ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
90
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092411"]]
91
+  (138.9ms) commit transaction
92
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
93
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
+ Migrating to CreateReferee (20131001142737)
95
+  (0.1ms) begin transaction
96
+  (0.5ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "is_campaign" boolean, "origin" varchar(255), "origin_host" varchar(255), "request" varchar(255), "request_query" varchar(255), "campaign" varchar(255), "keywords" varchar(255), "count" integer) 
97
+  (0.2ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
98
+  (0.1ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
99
+  (0.1ms) CREATE INDEX "index_referees_on_is_campaign" ON "referees" ("is_campaign")
100
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131001142737"]]
101
+  (171.0ms) commit transaction
102
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
103
+  (161.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
104
+  (154.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
105
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
106
+ Migrating to CreateBookings (20130926092411)
107
+  (0.1ms) begin transaction
108
+  (0.5ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thing" varchar(255), "referrer" varchar(255), "created_at" datetime, "updated_at" datetime) 
109
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926092411"]]
110
+  (167.7ms) commit transaction
111
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
113
+ Migrating to CreateReferee (20131001152526)
114
+  (0.1ms) begin transaction
115
+  (0.5ms) CREATE TABLE "referees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "referable_id" integer, "referable_type" varchar(255), "is_campaign" boolean, "origin" varchar(255), "origin_host" varchar(255), "request" varchar(255), "request_query" varchar(255), "campaign" varchar(255), "keywords" varchar(255), "visits" integer) 
116
+  (0.2ms) CREATE INDEX "index_referees_on_referable_id" ON "referees" ("referable_id")
117
+  (0.1ms) CREATE INDEX "index_referees_on_referable_type" ON "referees" ("referable_type")
118
+  (0.1ms) CREATE INDEX "index_referees_on_is_campaign" ON "referees" ("is_campaign")
119
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131001152526"]]
120
+  (175.4ms) commit transaction
121
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
+
123
+
124
+ Started GET "/" for 127.0.0.1 at 2013-10-01 18:07:47 +0200
125
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
126
+ Processing by Rails::WelcomeController#index as HTML
127
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/templates/rails/welcome/index.html.erb (1.7ms)
128
+ Completed 200 OK in 57ms (Views: 57.1ms | ActiveRecord: 0.0ms)
129
+
130
+
131
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:07:52 +0200
132
+ Processing by BookingsController#index as HTML
133
+ Completed 500 Internal Server Error in 43ms
134
+
135
+ NoMethodError (undefined method `uri' for #<ActionDispatch::Request:0x00000001112348>):
136
+ /home/rp/devel/acts_as_referred/lib/acts_as_referred/controller.rb:68:in `_check_cookie_and_session'
137
+ activesupport (4.0.0) lib/active_support/callbacks.rb:387:in `_run__954801534849859360__process_action__callbacks'
138
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
139
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
140
+ actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
141
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
142
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
143
+ activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
144
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
145
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
146
+ actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
147
+ activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
148
+ actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
149
+ actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
150
+ actionpack (4.0.0) lib/action_controller/metal.rb:195:in `dispatch'
151
+ actionpack (4.0.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
152
+ actionpack (4.0.0) lib/action_controller/metal.rb:231:in `block in action'
153
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `call'
154
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
155
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:48:in `call'
156
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
157
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `each'
158
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `call'
159
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:655:in `call'
160
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
161
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
162
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
163
+ actionpack (4.0.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
164
+ actionpack (4.0.0) lib/action_dispatch/middleware/flash.rb:241:in `call'
165
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
166
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
167
+ actionpack (4.0.0) lib/action_dispatch/middleware/cookies.rb:486:in `call'
168
+ activerecord (4.0.0) lib/active_record/query_cache.rb:36:in `call'
169
+ activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
170
+ activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
171
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
172
+ activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__3742768031475766358__call__callbacks'
173
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
174
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
175
+ actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
176
+ actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
177
+ actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
178
+ actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
179
+ railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
180
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
181
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
182
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
183
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
184
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
185
+ actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
186
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
187
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
188
+ activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
189
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
190
+ actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
191
+ railties (4.0.0) lib/rails/engine.rb:511:in `call'
192
+ railties (4.0.0) lib/rails/application.rb:97:in `call'
193
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
194
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
195
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
196
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
197
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
198
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
199
+
200
+
201
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
202
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
203
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
204
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.3ms)
205
+
206
+
207
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
208
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
209
+ Processing by BookingsController#index as HTML
210
+ Booking Load (0.1ms) SELECT "bookings".* FROM "bookings"
211
+ Rendered bookings/index.html.erb within layouts/application (3.1ms)
212
+ Completed 200 OK in 116ms (Views: 59.4ms | ActiveRecord: 0.4ms)
213
+
214
+
215
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
216
+
217
+
218
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
219
+
220
+
221
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
222
+
223
+
224
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
225
+
226
+
227
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
228
+
229
+
230
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
231
+
232
+
233
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
234
+
235
+
236
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
237
+
238
+
239
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:37 +0200
240
+
241
+
242
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
243
+ Processing by BookingsController#new as HTML
244
+ Rendered bookings/_form.html.erb (77.7ms)
245
+ Rendered bookings/new.html.erb within layouts/application (101.3ms)
246
+ Completed 200 OK in 112ms (Views: 109.6ms | ActiveRecord: 0.2ms)
247
+
248
+
249
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
250
+
251
+
252
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
253
+
254
+
255
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
256
+
257
+
258
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
259
+
260
+
261
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
262
+
263
+
264
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
265
+
266
+
267
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
268
+
269
+
270
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
271
+
272
+
273
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:09:43 +0200
274
+
275
+
276
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
277
+ Processing by BookingsController#new as HTML
278
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
279
+ Rendered bookings/_form.html.erb (3.6ms)
280
+ Rendered bookings/new.html.erb within layouts/application (5.1ms)
281
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
282
+
283
+
284
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
285
+
286
+
287
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
288
+
289
+
290
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
291
+
292
+
293
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
294
+
295
+
296
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
297
+
298
+
299
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
300
+
301
+
302
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
303
+
304
+
305
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
306
+
307
+
308
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:18 +0200
309
+
310
+
311
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:10:27 +0200
312
+ Processing by BookingsController#new as HTML
313
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
314
+ Rendered bookings/_form.html.erb (5.2ms)
315
+ Rendered bookings/new.html.erb within layouts/application (6.5ms)
316
+ Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.0ms)
317
+
318
+
319
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:27 +0200
320
+
321
+
322
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
323
+
324
+
325
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
326
+
327
+
328
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
329
+
330
+
331
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
332
+
333
+
334
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
335
+
336
+
337
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
338
+
339
+
340
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
341
+
342
+
343
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:10:28 +0200
344
+
345
+
346
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
347
+ Processing by BookingsController#new as HTML
348
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
349
+ Rendered bookings/_form.html.erb (6.7ms)
350
+ Rendered bookings/new.html.erb within layouts/application (8.4ms)
351
+ Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms)
352
+
353
+
354
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
355
+
356
+
357
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
358
+
359
+
360
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
361
+
362
+
363
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
364
+
365
+
366
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
367
+
368
+
369
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
370
+
371
+
372
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
373
+
374
+
375
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
376
+
377
+
378
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:31 +0200
379
+
380
+
381
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
382
+ Processing by BookingsController#new as HTML
383
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
384
+ Rendered bookings/_form.html.erb (4.8ms)
385
+ Rendered bookings/new.html.erb within layouts/application (5.9ms)
386
+ Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.0ms)
387
+
388
+
389
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
390
+
391
+
392
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
393
+
394
+
395
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
396
+
397
+
398
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
399
+
400
+
401
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
402
+
403
+
404
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
405
+
406
+
407
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
408
+
409
+
410
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
411
+
412
+
413
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:11:33 +0200
414
+
415
+
416
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
417
+ Processing by BookingsController#new as HTML
418
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
419
+ Rendered bookings/_form.html.erb (5.2ms)
420
+ Rendered bookings/new.html.erb within layouts/application (6.7ms)
421
+ Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms)
422
+
423
+
424
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
425
+
426
+
427
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
428
+
429
+
430
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
431
+
432
+
433
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
434
+
435
+
436
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
437
+
438
+
439
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
440
+
441
+
442
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
443
+
444
+
445
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
446
+
447
+
448
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:12:21 +0200
449
+
450
+
451
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:12:58 +0200
452
+ Processing by BookingsController#create as HTML
453
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
454
+  (0.1ms) begin transaction
455
+ SQL (2.7ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:12:58 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:12:58 UTC +00:00]]
456
+  (0.2ms) rollback transaction
457
+ Completed 500 Internal Server Error in 8ms
458
+
459
+ NameError (undefined local variable or method `_process_struct' for #<Booking:0x000000024da268>):
460
+ app/controllers/bookings_controller.rb:26:in `create'
461
+
462
+
463
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
464
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
465
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
466
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
467
+
468
+
469
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:34:29 +0200
470
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
471
+ Processing by BookingsController#new as HTML
472
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
473
+ Rendered bookings/_form.html.erb (23.0ms)
474
+ Rendered bookings/new.html.erb within layouts/application (26.3ms)
475
+ Completed 200 OK in 105ms (Views: 79.5ms | ActiveRecord: 0.4ms)
476
+
477
+
478
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:34:29 +0200
479
+
480
+
481
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
482
+
483
+
484
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
485
+
486
+
487
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
488
+
489
+
490
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
491
+
492
+
493
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
494
+
495
+
496
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
497
+
498
+
499
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
500
+
501
+
502
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:34:30 +0200
503
+
504
+
505
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:34:32 +0200
506
+ Processing by BookingsController#create as HTML
507
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
508
+  (0.2ms) begin transaction
509
+ SQL (3.1ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:34:32 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:34:32 UTC +00:00]]
510
+  (0.2ms) rollback transaction
511
+ Completed 500 Internal Server Error in 10ms
512
+
513
+ NameError (undefined local variable or method `_process_struct' for #<Booking:0x000000030a1fb0>):
514
+ app/controllers/bookings_controller.rb:26:in `create'
515
+
516
+
517
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
518
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
519
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
520
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.0ms)
521
+
522
+
523
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
524
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
525
+ Processing by BookingsController#new as HTML
526
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
527
+ Rendered bookings/_form.html.erb (23.3ms)
528
+ Rendered bookings/new.html.erb within layouts/application (27.1ms)
529
+ Completed 200 OK in 105ms (Views: 81.0ms | ActiveRecord: 0.4ms)
530
+
531
+
532
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
533
+
534
+
535
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
536
+
537
+
538
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
539
+
540
+
541
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
542
+
543
+
544
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
545
+
546
+
547
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
548
+
549
+
550
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
551
+
552
+
553
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
554
+
555
+
556
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:36:16 +0200
557
+
558
+
559
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:36:18 +0200
560
+ Processing by BookingsController#create as HTML
561
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
562
+  (0.1ms) begin transaction
563
+ SQL (3.5ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:36:18 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:36:18 UTC +00:00]]
564
+  (0.2ms) rollback transaction
565
+ Completed 500 Internal Server Error in 9ms
566
+
567
+ NameError (undefined local variable or method `_process_struct' for #<Booking:0x00000003cab298>):
568
+ app/controllers/bookings_controller.rb:26:in `create'
569
+
570
+
571
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
572
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
573
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
574
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.3ms)
575
+
576
+
577
+ Started GET "/bookings/new?utm_campaign=summerdeal&utm_term=terror" for 127.0.0.1 at 2013-10-01 18:47:03 +0200
578
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
579
+ Processing by BookingsController#new as HTML
580
+ Parameters: {"utm_campaign"=>"summerdeal", "utm_term"=>"terror"}
581
+ Rendered bookings/_form.html.erb (23.9ms)
582
+ Rendered bookings/new.html.erb within layouts/application (27.2ms)
583
+ Completed 200 OK in 106ms (Views: 81.1ms | ActiveRecord: 0.4ms)
584
+
585
+
586
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:03 +0200
587
+
588
+
589
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:03 +0200
590
+
591
+
592
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
593
+
594
+
595
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
596
+
597
+
598
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
599
+
600
+
601
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
602
+
603
+
604
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
605
+
606
+
607
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
608
+
609
+
610
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:04 +0200
611
+
612
+
613
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
614
+ Processing by BookingsController#create as HTML
615
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
616
+  (0.1ms) begin transaction
617
+ SQL (5.0ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:47:06 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:47:06 UTC +00:00]]
618
+ SQL (0.7ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 1], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
619
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 1], ["referable_type", "Booking"]]
620
+  (174.8ms) commit transaction
621
+ Redirected to http://localhost:3000/bookings/1
622
+ Completed 302 Found in 280ms (ActiveRecord: 181.5ms)
623
+
624
+
625
+ Started GET "/bookings/1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
626
+ Processing by BookingsController#show as HTML
627
+ Parameters: {"id"=>"1"}
628
+ Booking Load (0.7ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "1"]]
629
+ Rendered bookings/show.html.erb within layouts/application (1.3ms)
630
+ Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 0.7ms)
631
+
632
+
633
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
634
+
635
+
636
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
637
+
638
+
639
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
640
+
641
+
642
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
643
+
644
+
645
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
646
+
647
+
648
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
649
+
650
+
651
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
652
+
653
+
654
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
655
+
656
+
657
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:06 +0200
658
+
659
+
660
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
661
+ Processing by BookingsController#index as HTML
662
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
663
+ Rendered bookings/index.html.erb within layouts/application (2.7ms)
664
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.2ms)
665
+
666
+
667
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
668
+
669
+
670
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
671
+
672
+
673
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
674
+
675
+
676
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
677
+
678
+
679
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
680
+
681
+
682
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
683
+
684
+
685
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
686
+
687
+
688
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
689
+
690
+
691
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:11 +0200
692
+
693
+
694
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
695
+ Processing by BookingsController#index as HTML
696
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
697
+ Rendered bookings/index.html.erb within layouts/application (1.9ms)
698
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
699
+
700
+
701
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
702
+
703
+
704
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
705
+
706
+
707
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
708
+
709
+
710
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
711
+
712
+
713
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
714
+
715
+
716
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
717
+
718
+
719
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
720
+
721
+
722
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
723
+
724
+
725
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:15 +0200
726
+
727
+
728
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
729
+ Processing by BookingsController#index as HTML
730
+ Booking Load (0.4ms) SELECT "bookings".* FROM "bookings"
731
+ Rendered bookings/index.html.erb within layouts/application (3.6ms)
732
+ Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.4ms)
733
+
734
+
735
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
736
+
737
+
738
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
739
+
740
+
741
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
742
+
743
+
744
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
745
+
746
+
747
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
748
+
749
+
750
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
751
+
752
+
753
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
754
+
755
+
756
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
757
+
758
+
759
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:17 +0200
760
+
761
+
762
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
763
+ Processing by BookingsController#new as HTML
764
+ Rendered bookings/_form.html.erb (5.3ms)
765
+ Rendered bookings/new.html.erb within layouts/application (6.7ms)
766
+ Completed 200 OK in 17ms (Views: 14.9ms | ActiveRecord: 0.0ms)
767
+
768
+
769
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
770
+
771
+
772
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
773
+
774
+
775
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
776
+
777
+
778
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
779
+
780
+
781
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
782
+
783
+
784
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
785
+
786
+
787
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
788
+
789
+
790
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
791
+
792
+
793
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:20 +0200
794
+
795
+
796
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:47:24 +0200
797
+ Processing by BookingsController#create as HTML
798
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"adfasdf", "referrer"=>"asdfasdf"}, "commit"=>"Create Booking"}
799
+  (0.1ms) begin transaction
800
+ SQL (0.6ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:47:24 UTC +00:00], ["referrer", "asdfasdf"], ["thing", "adfasdf"], ["updated_at", Tue, 01 Oct 2013 16:47:24 UTC +00:00]]
801
+ SQL (0.6ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 2], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
802
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 2], ["referable_type", "Booking"]]
803
+  (276.8ms) commit transaction
804
+ Redirected to http://localhost:3000/bookings/2
805
+ Completed 302 Found in 286ms (ActiveRecord: 278.1ms)
806
+
807
+
808
+ Started GET "/bookings/2" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
809
+ Processing by BookingsController#show as HTML
810
+ Parameters: {"id"=>"2"}
811
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "2"]]
812
+ Rendered bookings/show.html.erb within layouts/application (0.5ms)
813
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms)
814
+
815
+
816
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
817
+
818
+
819
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
820
+
821
+
822
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
823
+
824
+
825
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
826
+
827
+
828
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
829
+
830
+
831
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
832
+
833
+
834
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
835
+
836
+
837
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
838
+
839
+
840
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:25 +0200
841
+
842
+
843
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
844
+ Processing by BookingsController#index as HTML
845
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings"
846
+ Rendered bookings/index.html.erb within layouts/application (4.2ms)
847
+ Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.3ms)
848
+
849
+
850
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
851
+
852
+
853
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
854
+
855
+
856
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
857
+
858
+
859
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
860
+
861
+
862
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
863
+
864
+
865
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
866
+
867
+
868
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
869
+
870
+
871
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
872
+
873
+
874
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:28 +0200
875
+
876
+
877
+ Started GET "/bookings/1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
878
+ Processing by BookingsController#show as HTML
879
+ Parameters: {"id"=>"1"}
880
+ Booking Load (0.1ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "1"]]
881
+ Rendered bookings/show.html.erb within layouts/application (0.5ms)
882
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)
883
+
884
+
885
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
886
+
887
+
888
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
889
+
890
+
891
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
892
+
893
+
894
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
895
+
896
+
897
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
898
+
899
+
900
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
901
+
902
+
903
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
904
+
905
+
906
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
907
+
908
+
909
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:33 +0200
910
+
911
+
912
+ Started GET "/bookings/2" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
913
+ Processing by BookingsController#show as HTML
914
+ Parameters: {"id"=>"2"}
915
+ Booking Load (0.1ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "2"]]
916
+ Rendered bookings/show.html.erb within layouts/application (0.5ms)
917
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.1ms)
918
+
919
+
920
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
921
+
922
+
923
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
924
+
925
+
926
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
927
+
928
+
929
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
930
+
931
+
932
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
933
+
934
+
935
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
936
+
937
+
938
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
939
+
940
+
941
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
942
+
943
+
944
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:47:36 +0200
945
+
946
+
947
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:50:34 +0200
948
+ Processing by BookingsController#index as HTML
949
+ Booking Load (0.4ms) SELECT "bookings".* FROM "bookings"
950
+ Rendered bookings/index.html.erb within layouts/application (4.2ms)
951
+ Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.4ms)
952
+
953
+
954
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
955
+
956
+
957
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
958
+
959
+
960
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
961
+
962
+
963
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
964
+
965
+
966
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
967
+
968
+
969
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
970
+
971
+
972
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
973
+
974
+
975
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
976
+
977
+
978
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:35 +0200
979
+
980
+
981
+ Started GET "/bookings/2" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
982
+ Processing by BookingsController#show as HTML
983
+ Parameters: {"id"=>"2"}
984
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "2"]]
985
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 2], ["referable_type", "Booking"]]
986
+ Rendered bookings/show.html.erb within layouts/application (6.8ms)
987
+ Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 0.5ms)
988
+
989
+
990
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
991
+
992
+
993
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
994
+
995
+
996
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
997
+
998
+
999
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1000
+
1001
+
1002
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1003
+
1004
+
1005
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1006
+
1007
+
1008
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1009
+
1010
+
1011
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1012
+
1013
+
1014
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:37 +0200
1015
+
1016
+
1017
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1018
+ Processing by BookingsController#index as HTML
1019
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
1020
+ Rendered bookings/index.html.erb within layouts/application (2.2ms)
1021
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.2ms)
1022
+
1023
+
1024
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1025
+
1026
+
1027
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1028
+
1029
+
1030
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1031
+
1032
+
1033
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1034
+
1035
+
1036
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1037
+
1038
+
1039
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1040
+
1041
+
1042
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1043
+
1044
+
1045
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1046
+
1047
+
1048
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:43 +0200
1049
+
1050
+
1051
+ Started GET "/bookings/1" for 127.0.0.1 at 2013-10-01 18:50:45 +0200
1052
+ Processing by BookingsController#show as HTML
1053
+ Parameters: {"id"=>"1"}
1054
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "1"]]
1055
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 1], ["referable_type", "Booking"]]
1056
+ Rendered bookings/show.html.erb within layouts/application (2.7ms)
1057
+ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
1058
+
1059
+
1060
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1061
+
1062
+
1063
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1064
+
1065
+
1066
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1067
+
1068
+
1069
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1070
+
1071
+
1072
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1073
+
1074
+
1075
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1076
+
1077
+
1078
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1079
+
1080
+
1081
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1082
+
1083
+
1084
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:50:46 +0200
1085
+
1086
+
1087
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1088
+ Processing by BookingsController#new as HTML
1089
+ Rendered bookings/_form.html.erb (2.8ms)
1090
+ Rendered bookings/new.html.erb within layouts/application (3.6ms)
1091
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
1092
+
1093
+
1094
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1095
+
1096
+
1097
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1098
+
1099
+
1100
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1101
+
1102
+
1103
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1104
+
1105
+
1106
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1107
+
1108
+
1109
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1110
+
1111
+
1112
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1113
+
1114
+
1115
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1116
+
1117
+
1118
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:15 +0200
1119
+
1120
+
1121
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:51:17 +0200
1122
+ Processing by BookingsController#create as HTML
1123
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1124
+  (0.1ms) begin transaction
1125
+ SQL (0.6ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:51:17 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:51:17 UTC +00:00]]
1126
+ SQL (0.6ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 3], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1127
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 3], ["referable_type", "Booking"]]
1128
+  (164.1ms) commit transaction
1129
+ Redirected to http://localhost:3000/bookings/3
1130
+ Completed 302 Found in 197ms (ActiveRecord: 165.5ms)
1131
+
1132
+
1133
+ Started GET "/bookings/3" for 127.0.0.1 at 2013-10-01 18:51:17 +0200
1134
+ Processing by BookingsController#show as HTML
1135
+ Parameters: {"id"=>"3"}
1136
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "3"]]
1137
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 3], ["referable_type", "Booking"]]
1138
+ Rendered bookings/show.html.erb within layouts/application (3.3ms)
1139
+ Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.5ms)
1140
+
1141
+
1142
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1143
+
1144
+
1145
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1146
+
1147
+
1148
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1149
+
1150
+
1151
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1152
+
1153
+
1154
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1155
+
1156
+
1157
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1158
+
1159
+
1160
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1161
+
1162
+
1163
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1164
+
1165
+
1166
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:18 +0200
1167
+
1168
+
1169
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1170
+ Processing by BookingsController#index as HTML
1171
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings"
1172
+ Rendered bookings/index.html.erb within layouts/application (4.8ms)
1173
+ Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.3ms)
1174
+
1175
+
1176
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1177
+
1178
+
1179
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1180
+
1181
+
1182
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1183
+
1184
+
1185
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1186
+
1187
+
1188
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1189
+
1190
+
1191
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1192
+
1193
+
1194
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1195
+
1196
+
1197
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1198
+
1199
+
1200
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:41 +0200
1201
+
1202
+
1203
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1204
+ Processing by BookingsController#new as HTML
1205
+ Rendered bookings/_form.html.erb (3.3ms)
1206
+ Rendered bookings/new.html.erb within layouts/application (4.3ms)
1207
+ Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
1208
+
1209
+
1210
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1211
+
1212
+
1213
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1214
+
1215
+
1216
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1217
+
1218
+
1219
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1220
+
1221
+
1222
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1223
+
1224
+
1225
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1226
+
1227
+
1228
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1229
+
1230
+
1231
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1232
+
1233
+
1234
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:43 +0200
1235
+
1236
+
1237
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:51:44 +0200
1238
+ Processing by BookingsController#create as HTML
1239
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1240
+  (0.2ms) begin transaction
1241
+ SQL (1.1ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:51:44 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:51:44 UTC +00:00]]
1242
+ SQL (1.1ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 4], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1243
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 4], ["referable_type", "Booking"]]
1244
+  (167.6ms) commit transaction
1245
+ Redirected to http://localhost:3000/bookings/4
1246
+ Completed 302 Found in 181ms (ActiveRecord: 170.1ms)
1247
+
1248
+
1249
+ Started GET "/bookings/4" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1250
+ Processing by BookingsController#show as HTML
1251
+ Parameters: {"id"=>"4"}
1252
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "4"]]
1253
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 4], ["referable_type", "Booking"]]
1254
+ Rendered bookings/show.html.erb within layouts/application (2.7ms)
1255
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms)
1256
+
1257
+
1258
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1259
+
1260
+
1261
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1262
+
1263
+
1264
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1265
+
1266
+
1267
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1268
+
1269
+
1270
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1271
+
1272
+
1273
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1274
+
1275
+
1276
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1277
+
1278
+
1279
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1280
+
1281
+
1282
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:51:45 +0200
1283
+
1284
+
1285
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:53:20 +0200
1286
+ Processing by BookingsController#create as HTML
1287
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1288
+  (0.2ms) begin transaction
1289
+ SQL (1.1ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:53:20 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:53:20 UTC +00:00]]
1290
+ SQL (1.0ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 5], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1291
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 5], ["referable_type", "Booking"]]
1292
+  (173.0ms) commit transaction
1293
+ Redirected to http://localhost:3000/bookings/5
1294
+ Completed 302 Found in 187ms (ActiveRecord: 175.4ms)
1295
+
1296
+
1297
+ Started GET "/bookings/5" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1298
+ Processing by BookingsController#show as HTML
1299
+ Parameters: {"id"=>"5"}
1300
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "5"]]
1301
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 5], ["referable_type", "Booking"]]
1302
+ Rendered bookings/show.html.erb within layouts/application (4.9ms)
1303
+ Completed 200 OK in 17ms (Views: 12.6ms | ActiveRecord: 0.6ms)
1304
+
1305
+
1306
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1307
+
1308
+
1309
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1310
+
1311
+
1312
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1313
+
1314
+
1315
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1316
+
1317
+
1318
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1319
+
1320
+
1321
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1322
+
1323
+
1324
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1325
+
1326
+
1327
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1328
+
1329
+
1330
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:53:21 +0200
1331
+
1332
+
1333
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1334
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1335
+ Processing by BookingsController#new as HTML
1336
+ Rendered bookings/_form.html.erb (23.1ms)
1337
+ Rendered bookings/new.html.erb within layouts/application (26.5ms)
1338
+ Completed 200 OK in 105ms (Views: 81.1ms | ActiveRecord: 0.4ms)
1339
+
1340
+
1341
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1342
+
1343
+
1344
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1345
+
1346
+
1347
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1348
+
1349
+
1350
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1351
+
1352
+
1353
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1354
+
1355
+
1356
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1357
+
1358
+
1359
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1360
+
1361
+
1362
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1363
+
1364
+
1365
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:30 +0200
1366
+
1367
+
1368
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:54:33 +0200
1369
+ Processing by BookingsController#create as HTML
1370
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1371
+  (0.1ms) begin transaction
1372
+ SQL (3.1ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:54:33 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:54:33 UTC +00:00]]
1373
+ SQL (1.7ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 6], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1374
+ Referee Load (0.4ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 6], ["referable_type", "Booking"]]
1375
+  (207.3ms) commit transaction
1376
+ Redirected to http://localhost:3000/bookings/6
1377
+ Completed 302 Found in 318ms (ActiveRecord: 212.9ms)
1378
+
1379
+
1380
+ Started GET "/bookings/6" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1381
+ Processing by BookingsController#show as HTML
1382
+ Parameters: {"id"=>"6"}
1383
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "6"]]
1384
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 6], ["referable_type", "Booking"]]
1385
+ Rendered bookings/show.html.erb within layouts/application (3.6ms)
1386
+ Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.4ms)
1387
+
1388
+
1389
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1390
+
1391
+
1392
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1393
+
1394
+
1395
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1396
+
1397
+
1398
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1399
+
1400
+
1401
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1402
+
1403
+
1404
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1405
+
1406
+
1407
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1408
+
1409
+
1410
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1411
+
1412
+
1413
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:54:34 +0200
1414
+
1415
+
1416
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:57:09 +0200
1417
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1418
+ Processing by BookingsController#create as HTML
1419
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1420
+  (0.1ms) begin transaction
1421
+ SQL (3.1ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:57:10 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:57:10 UTC +00:00]]
1422
+ SQL (0.8ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 7], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1423
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 7], ["referable_type", "Booking"]]
1424
+  (175.7ms) commit transaction
1425
+ Redirected to http://localhost:3000/bookings/7
1426
+ Completed 302 Found in 266ms (ActiveRecord: 180.6ms)
1427
+
1428
+
1429
+ Started GET "/bookings/7" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1430
+ Processing by BookingsController#show as HTML
1431
+ Parameters: {"id"=>"7"}
1432
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "7"]]
1433
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 7], ["referable_type", "Booking"]]
1434
+ Rendered bookings/show.html.erb within layouts/application (27.7ms)
1435
+ Completed 200 OK in 107ms (Views: 104.4ms | ActiveRecord: 0.5ms)
1436
+
1437
+
1438
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1439
+
1440
+
1441
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1442
+
1443
+
1444
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1445
+
1446
+
1447
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1448
+
1449
+
1450
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1451
+
1452
+
1453
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1454
+
1455
+
1456
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1457
+
1458
+
1459
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1460
+
1461
+
1462
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:57:10 +0200
1463
+
1464
+
1465
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1466
+ Processing by BookingsController#create as HTML
1467
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1468
+  (0.2ms) begin transaction
1469
+ SQL (1.0ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:59:28 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:59:28 UTC +00:00]]
1470
+ SQL (0.9ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 8], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1471
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 8], ["referable_type", "Booking"]]
1472
+  (160.9ms) commit transaction
1473
+ Redirected to http://localhost:3000/bookings/8
1474
+ Completed 302 Found in 173ms (ActiveRecord: 163.1ms)
1475
+
1476
+
1477
+ Started GET "/bookings/8" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1478
+ Processing by BookingsController#show as HTML
1479
+ Parameters: {"id"=>"8"}
1480
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "8"]]
1481
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 8], ["referable_type", "Booking"]]
1482
+ Rendered bookings/show.html.erb within layouts/application (4.6ms)
1483
+ Completed 200 OK in 17ms (Views: 13.3ms | ActiveRecord: 0.5ms)
1484
+
1485
+
1486
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1487
+
1488
+
1489
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1490
+
1491
+
1492
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1493
+
1494
+
1495
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1496
+
1497
+
1498
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1499
+
1500
+
1501
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1502
+
1503
+
1504
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1505
+
1506
+
1507
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1508
+
1509
+
1510
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:28 +0200
1511
+
1512
+
1513
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 18:59:50 +0200
1514
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1515
+ Processing by BookingsController#create as HTML
1516
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1517
+  (0.1ms) begin transaction
1518
+ SQL (2.7ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 16:59:50 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 16:59:50 UTC +00:00]]
1519
+ SQL (0.8ms) INSERT INTO "referees" ("origin", "referable_id", "referable_type", "request", "visits") VALUES (?, ?, ?, ?, ?) [["origin", "ref"], ["referable_id", 9], ["referable_type", "Booking"], ["request", "terror"], ["visits", 0]]
1520
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 9], ["referable_type", "Booking"]]
1521
+  (174.2ms) commit transaction
1522
+ Redirected to http://localhost:3000/bookings/9
1523
+ Completed 302 Found in 264ms (ActiveRecord: 178.8ms)
1524
+
1525
+
1526
+ Started GET "/bookings/9" for 127.0.0.1 at 2013-10-01 18:59:50 +0200
1527
+ Processing by BookingsController#show as HTML
1528
+ Parameters: {"id"=>"9"}
1529
+ Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "9"]]
1530
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 9], ["referable_type", "Booking"]]
1531
+ Rendered bookings/show.html.erb within layouts/application (31.0ms)
1532
+ Completed 200 OK in 108ms (Views: 103.3ms | ActiveRecord: 0.8ms)
1533
+
1534
+
1535
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1536
+
1537
+
1538
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1539
+
1540
+
1541
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1542
+
1543
+
1544
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1545
+
1546
+
1547
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1548
+
1549
+
1550
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1551
+
1552
+
1553
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1554
+
1555
+
1556
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1557
+
1558
+
1559
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 18:59:51 +0200
1560
+
1561
+
1562
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1563
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1564
+ Processing by BookingsController#index as HTML
1565
+ Booking Load (0.1ms) SELECT "bookings".* FROM "bookings"
1566
+ Rendered bookings/index.html.erb within layouts/application (20.4ms)
1567
+ Completed 200 OK in 100ms (Views: 75.6ms | ActiveRecord: 0.5ms)
1568
+
1569
+
1570
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1571
+
1572
+
1573
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1574
+
1575
+
1576
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1577
+
1578
+
1579
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1580
+
1581
+
1582
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1583
+
1584
+
1585
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1586
+
1587
+
1588
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1589
+
1590
+
1591
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1592
+
1593
+
1594
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:49 +0200
1595
+
1596
+
1597
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1598
+ Processing by BookingsController#new as HTML
1599
+ Rendered bookings/_form.html.erb (14.5ms)
1600
+ Rendered bookings/new.html.erb within layouts/application (19.5ms)
1601
+ Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 0.0ms)
1602
+
1603
+
1604
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1605
+
1606
+
1607
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1608
+
1609
+
1610
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1611
+
1612
+
1613
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1614
+
1615
+
1616
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1617
+
1618
+
1619
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1620
+
1621
+
1622
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1623
+
1624
+
1625
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1626
+
1627
+
1628
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:01:51 +0200
1629
+
1630
+
1631
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:01:52 +0200
1632
+ Processing by BookingsController#create as HTML
1633
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1634
+  (0.2ms) begin transaction
1635
+ SQL (5.6ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:01:52 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:01:52 UTC +00:00]]
1636
+  (0.2ms) rollback transaction
1637
+ Completed 500 Internal Server Error in 84ms
1638
+
1639
+ ArgumentError (odd number of arguments for Hash):
1640
+ app/controllers/bookings_controller.rb:26:in `create'
1641
+
1642
+
1643
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
1644
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1645
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1646
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.0ms)
1647
+
1648
+
1649
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1650
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1651
+ Processing by BookingsController#create as HTML
1652
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1653
+  (0.1ms) begin transaction
1654
+ SQL (2.7ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:07:25 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:07:25 UTC +00:00]]
1655
+ SQL (0.7ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "origin", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["origin", ""], ["referable_id", 10], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
1656
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 10], ["referable_type", "Booking"]]
1657
+  (178.8ms) commit transaction
1658
+ Redirected to http://localhost:3000/bookings/10
1659
+ Completed 302 Found in 268ms (ActiveRecord: 183.3ms)
1660
+
1661
+
1662
+ Started GET "/bookings/10" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1663
+ Processing by BookingsController#show as HTML
1664
+ Parameters: {"id"=>"10"}
1665
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "10"]]
1666
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 10], ["referable_type", "Booking"]]
1667
+ Rendered bookings/show.html.erb within layouts/application (24.4ms)
1668
+ Completed 200 OK in 101ms (Views: 96.9ms | ActiveRecord: 0.4ms)
1669
+
1670
+
1671
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1672
+
1673
+
1674
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1675
+
1676
+
1677
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1678
+
1679
+
1680
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1681
+
1682
+
1683
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1684
+
1685
+
1686
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1687
+
1688
+
1689
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1690
+
1691
+
1692
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1693
+
1694
+
1695
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:07:25 +0200
1696
+
1697
+
1698
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:24:15 +0200
1699
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1700
+ Processing by BookingsController#index as HTML
1701
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
1702
+ Rendered bookings/index.html.erb within layouts/application (21.1ms)
1703
+ Completed 200 OK in 100ms (Views: 75.5ms | ActiveRecord: 0.5ms)
1704
+
1705
+
1706
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1707
+
1708
+
1709
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1710
+
1711
+
1712
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1713
+
1714
+
1715
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1716
+
1717
+
1718
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1719
+
1720
+
1721
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1722
+
1723
+
1724
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1725
+
1726
+
1727
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1728
+
1729
+
1730
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:16 +0200
1731
+
1732
+
1733
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1734
+ Processing by BookingsController#new as HTML
1735
+ Rendered bookings/_form.html.erb (12.5ms)
1736
+ Rendered bookings/new.html.erb within layouts/application (15.3ms)
1737
+ Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms)
1738
+
1739
+
1740
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1741
+
1742
+
1743
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1744
+
1745
+
1746
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1747
+
1748
+
1749
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1750
+
1751
+
1752
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1753
+
1754
+
1755
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1756
+
1757
+
1758
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1759
+
1760
+
1761
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1762
+
1763
+
1764
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:17 +0200
1765
+
1766
+
1767
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1768
+ Processing by BookingsController#create as HTML
1769
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1770
+  (0.1ms) begin transaction
1771
+ SQL (2.8ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:24:19 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:24:19 UTC +00:00]]
1772
+ SQL (0.7ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["referable_id", 11], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
1773
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 11], ["referable_type", "Booking"]]
1774
+  (176.9ms) commit transaction
1775
+ Redirected to http://localhost:3000/bookings/11
1776
+ Completed 302 Found in 264ms (ActiveRecord: 181.4ms)
1777
+
1778
+
1779
+ Started GET "/bookings/11" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1780
+ Processing by BookingsController#show as HTML
1781
+ Parameters: {"id"=>"11"}
1782
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "11"]]
1783
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 11], ["referable_type", "Booking"]]
1784
+ Rendered bookings/show.html.erb within layouts/application (4.0ms)
1785
+ Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.5ms)
1786
+
1787
+
1788
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1789
+
1790
+
1791
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1792
+
1793
+
1794
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1795
+
1796
+
1797
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1798
+
1799
+
1800
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1801
+
1802
+
1803
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1804
+
1805
+
1806
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1807
+
1808
+
1809
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1810
+
1811
+
1812
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:24:19 +0200
1813
+
1814
+
1815
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1816
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1817
+ Processing by BookingsController#index as HTML
1818
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
1819
+ Rendered bookings/index.html.erb within layouts/application (20.9ms)
1820
+ Completed 200 OK in 98ms (Views: 74.4ms | ActiveRecord: 0.5ms)
1821
+
1822
+
1823
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1824
+
1825
+
1826
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1827
+
1828
+
1829
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1830
+
1831
+
1832
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1833
+
1834
+
1835
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1836
+
1837
+
1838
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1839
+
1840
+
1841
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1842
+
1843
+
1844
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1845
+
1846
+
1847
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:54 +0200
1848
+
1849
+
1850
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1851
+ Processing by BookingsController#new as HTML
1852
+ Rendered bookings/_form.html.erb (16.6ms)
1853
+ Rendered bookings/new.html.erb within layouts/application (21.7ms)
1854
+ Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.0ms)
1855
+
1856
+
1857
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1858
+
1859
+
1860
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1861
+
1862
+
1863
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1864
+
1865
+
1866
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1867
+
1868
+
1869
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1870
+
1871
+
1872
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1873
+
1874
+
1875
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1876
+
1877
+
1878
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1879
+
1880
+
1881
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:56 +0200
1882
+
1883
+
1884
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1885
+ Processing by BookingsController#create as HTML
1886
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
1887
+  (0.2ms) begin transaction
1888
+ SQL (3.6ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:26:58 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:26:58 UTC +00:00]]
1889
+ SQL (0.7ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["referable_id", 12], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
1890
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 12], ["referable_type", "Booking"]]
1891
+  (176.3ms) commit transaction
1892
+ Redirected to http://localhost:3000/bookings/12
1893
+ Completed 302 Found in 257ms (ActiveRecord: 181.4ms)
1894
+
1895
+
1896
+ Started GET "/bookings/12" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1897
+ Processing by BookingsController#show as HTML
1898
+ Parameters: {"id"=>"12"}
1899
+ Booking Load (0.4ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "12"]]
1900
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 12], ["referable_type", "Booking"]]
1901
+ Rendered bookings/show.html.erb within layouts/application (7.3ms)
1902
+ Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.8ms)
1903
+
1904
+
1905
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1906
+
1907
+
1908
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1909
+
1910
+
1911
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1912
+
1913
+
1914
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1915
+
1916
+
1917
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1918
+
1919
+
1920
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1921
+
1922
+
1923
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1924
+
1925
+
1926
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1927
+
1928
+
1929
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:26:58 +0200
1930
+
1931
+
1932
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1933
+ Processing by BookingsController#index as HTML
1934
+ Booking Load (0.4ms) SELECT "bookings".* FROM "bookings"
1935
+ Rendered bookings/index.html.erb within layouts/application (37.3ms)
1936
+ Completed 200 OK in 44ms (Views: 42.5ms | ActiveRecord: 0.4ms)
1937
+
1938
+
1939
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1940
+
1941
+
1942
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1943
+
1944
+
1945
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1946
+
1947
+
1948
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1949
+
1950
+
1951
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1952
+
1953
+
1954
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1955
+
1956
+
1957
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1958
+
1959
+
1960
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1961
+
1962
+
1963
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:21 +0200
1964
+
1965
+
1966
+ Started GET "/bookings/3" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1967
+ Processing by BookingsController#show as HTML
1968
+ Parameters: {"id"=>"3"}
1969
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "3"]]
1970
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 3], ["referable_type", "Booking"]]
1971
+ Rendered bookings/show.html.erb within layouts/application (4.6ms)
1972
+ Completed 200 OK in 16ms (Views: 12.4ms | ActiveRecord: 0.5ms)
1973
+
1974
+
1975
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1976
+
1977
+
1978
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1979
+
1980
+
1981
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1982
+
1983
+
1984
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1985
+
1986
+
1987
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1988
+
1989
+
1990
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1991
+
1992
+
1993
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1994
+
1995
+
1996
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
1997
+
1998
+
1999
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:23 +0200
2000
+
2001
+
2002
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2003
+ Processing by BookingsController#index as HTML
2004
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings"
2005
+ Rendered bookings/index.html.erb within layouts/application (26.6ms)
2006
+ Completed 200 OK in 33ms (Views: 31.0ms | ActiveRecord: 0.3ms)
2007
+
2008
+
2009
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2010
+
2011
+
2012
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2013
+
2014
+
2015
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2016
+
2017
+
2018
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2019
+
2020
+
2021
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2022
+
2023
+
2024
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2025
+
2026
+
2027
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2028
+
2029
+
2030
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2031
+
2032
+
2033
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:29 +0200
2034
+
2035
+
2036
+ Started GET "/bookings/1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2037
+ Processing by BookingsController#show as HTML
2038
+ Parameters: {"id"=>"1"}
2039
+ Booking Load (0.1ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "1"]]
2040
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 1], ["referable_type", "Booking"]]
2041
+ Rendered bookings/show.html.erb within layouts/application (2.6ms)
2042
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)
2043
+
2044
+
2045
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2046
+
2047
+
2048
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2049
+
2050
+
2051
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2052
+
2053
+
2054
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2055
+
2056
+
2057
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2058
+
2059
+
2060
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2061
+
2062
+
2063
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2064
+
2065
+
2066
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2067
+
2068
+
2069
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:31 +0200
2070
+
2071
+
2072
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2073
+ Processing by BookingsController#index as HTML
2074
+ Booking Load (0.6ms) SELECT "bookings".* FROM "bookings"
2075
+ Rendered bookings/index.html.erb within layouts/application (35.5ms)
2076
+ Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.6ms)
2077
+
2078
+
2079
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2080
+
2081
+
2082
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2083
+
2084
+
2085
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2086
+
2087
+
2088
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2089
+
2090
+
2091
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2092
+
2093
+
2094
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2095
+
2096
+
2097
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2098
+
2099
+
2100
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2101
+
2102
+
2103
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:33 +0200
2104
+
2105
+
2106
+ Started GET "/bookings/4" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2107
+ Processing by BookingsController#show as HTML
2108
+ Parameters: {"id"=>"4"}
2109
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "4"]]
2110
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 4], ["referable_type", "Booking"]]
2111
+ Rendered bookings/show.html.erb within layouts/application (5.5ms)
2112
+ Completed 200 OK in 17ms (Views: 13.5ms | ActiveRecord: 0.6ms)
2113
+
2114
+
2115
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2116
+
2117
+
2118
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2119
+
2120
+
2121
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2122
+
2123
+
2124
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2125
+
2126
+
2127
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2128
+
2129
+
2130
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2131
+
2132
+
2133
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2134
+
2135
+
2136
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2137
+
2138
+
2139
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:35 +0200
2140
+
2141
+
2142
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2143
+ Processing by BookingsController#index as HTML
2144
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings"
2145
+ Rendered bookings/index.html.erb within layouts/application (7.0ms)
2146
+ Completed 200 OK in 37ms (Views: 11.6ms | ActiveRecord: 0.2ms)
2147
+
2148
+
2149
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2150
+
2151
+
2152
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2153
+
2154
+
2155
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2156
+
2157
+
2158
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2159
+
2160
+
2161
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2162
+
2163
+
2164
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2165
+
2166
+
2167
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2168
+
2169
+
2170
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2171
+
2172
+
2173
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:37 +0200
2174
+
2175
+
2176
+ Started GET "/bookings/11" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2177
+ Processing by BookingsController#show as HTML
2178
+ Parameters: {"id"=>"11"}
2179
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "11"]]
2180
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 11], ["referable_type", "Booking"]]
2181
+ Rendered bookings/show.html.erb within layouts/application (4.6ms)
2182
+ Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.5ms)
2183
+
2184
+
2185
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2186
+
2187
+
2188
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2189
+
2190
+
2191
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2192
+
2193
+
2194
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2195
+
2196
+
2197
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2198
+
2199
+
2200
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2201
+
2202
+
2203
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2204
+
2205
+
2206
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2207
+
2208
+
2209
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:39 +0200
2210
+
2211
+
2212
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2213
+ Processing by BookingsController#index as HTML
2214
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings"
2215
+ Rendered bookings/index.html.erb within layouts/application (7.2ms)
2216
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.3ms)
2217
+
2218
+
2219
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2220
+
2221
+
2222
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2223
+
2224
+
2225
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2226
+
2227
+
2228
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2229
+
2230
+
2231
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2232
+
2233
+
2234
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2235
+
2236
+
2237
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2238
+
2239
+
2240
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2241
+
2242
+
2243
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:40 +0200
2244
+
2245
+
2246
+ Started GET "/bookings/12" for 127.0.0.1 at 2013-10-01 19:27:41 +0200
2247
+ Processing by BookingsController#show as HTML
2248
+ Parameters: {"id"=>"12"}
2249
+ Booking Load (0.2ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "12"]]
2250
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 12], ["referable_type", "Booking"]]
2251
+ Rendered bookings/show.html.erb within layouts/application (3.0ms)
2252
+ Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.3ms)
2253
+
2254
+
2255
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2256
+
2257
+
2258
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2259
+
2260
+
2261
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2262
+
2263
+
2264
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2265
+
2266
+
2267
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2268
+
2269
+
2270
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2271
+
2272
+
2273
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2274
+
2275
+
2276
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2277
+
2278
+
2279
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:42 +0200
2280
+
2281
+
2282
+ Started GET "/bookings" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2283
+ Processing by BookingsController#index as HTML
2284
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings"
2285
+ Rendered bookings/index.html.erb within layouts/application (6.8ms)
2286
+ Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.3ms)
2287
+
2288
+
2289
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2290
+
2291
+
2292
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2293
+
2294
+
2295
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2296
+
2297
+
2298
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2299
+
2300
+
2301
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2302
+
2303
+
2304
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2305
+
2306
+
2307
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2308
+
2309
+
2310
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2311
+
2312
+
2313
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:43 +0200
2314
+
2315
+
2316
+ Started GET "/bookings/new" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2317
+ Processing by BookingsController#new as HTML
2318
+ Rendered bookings/_form.html.erb (5.7ms)
2319
+ Rendered bookings/new.html.erb within layouts/application (7.5ms)
2320
+ Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.0ms)
2321
+
2322
+
2323
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2324
+
2325
+
2326
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2327
+
2328
+
2329
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2330
+
2331
+
2332
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2333
+
2334
+
2335
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2336
+
2337
+
2338
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2339
+
2340
+
2341
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2342
+
2343
+
2344
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2345
+
2346
+
2347
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:44 +0200
2348
+
2349
+
2350
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2351
+ Processing by BookingsController#create as HTML
2352
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
2353
+  (0.2ms) begin transaction
2354
+ SQL (0.7ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:27:46 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:27:46 UTC +00:00]]
2355
+ SQL (0.6ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["referable_id", 13], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
2356
+ Referee Load (0.1ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 13], ["referable_type", "Booking"]]
2357
+  (164.4ms) commit transaction
2358
+ Redirected to http://localhost:3000/bookings/13
2359
+ Completed 302 Found in 174ms (ActiveRecord: 165.9ms)
2360
+
2361
+
2362
+ Started GET "/bookings/13" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2363
+ Processing by BookingsController#show as HTML
2364
+ Parameters: {"id"=>"13"}
2365
+ Booking Load (0.3ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "13"]]
2366
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 13], ["referable_type", "Booking"]]
2367
+ Rendered bookings/show.html.erb within layouts/application (3.5ms)
2368
+ Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.5ms)
2369
+
2370
+
2371
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2372
+
2373
+
2374
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2375
+
2376
+
2377
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2378
+
2379
+
2380
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2381
+
2382
+
2383
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2384
+
2385
+
2386
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2387
+
2388
+
2389
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2390
+
2391
+
2392
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2393
+
2394
+
2395
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:27:46 +0200
2396
+
2397
+
2398
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:28:53 +0200
2399
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2400
+ Processing by BookingsController#create as HTML
2401
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
2402
+ Completed 500 Internal Server Error in 20ms
2403
+
2404
+ TypeError (wrong argument type OpenStruct (expected Proc/Method)):
2405
+ /home/rp/devel/acts_as_referred/lib/acts_as_referred/controller.rb:36:in `define_method'
2406
+ /home/rp/devel/acts_as_referred/lib/acts_as_referred/controller.rb:36:in `_supply_model_hook'
2407
+ activesupport (4.0.0) lib/active_support/callbacks.rb:397:in `_run__3834636343853903945__process_action__callbacks'
2408
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
2409
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
2410
+ actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2411
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2412
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
2413
+ activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2414
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
2415
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2416
+ actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2417
+ activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2418
+ actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
2419
+ actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
2420
+ actionpack (4.0.0) lib/action_controller/metal.rb:195:in `dispatch'
2421
+ actionpack (4.0.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2422
+ actionpack (4.0.0) lib/action_controller/metal.rb:231:in `block in action'
2423
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `call'
2424
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2425
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:48:in `call'
2426
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
2427
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `each'
2428
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `call'
2429
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:655:in `call'
2430
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2431
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
2432
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2433
+ actionpack (4.0.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2434
+ actionpack (4.0.0) lib/action_dispatch/middleware/flash.rb:241:in `call'
2435
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2436
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2437
+ actionpack (4.0.0) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2438
+ activerecord (4.0.0) lib/active_record/query_cache.rb:36:in `call'
2439
+ activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2440
+ activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
2441
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2442
+ activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__2536073495627468751__call__callbacks'
2443
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
2444
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2445
+ actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2446
+ actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2447
+ actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2448
+ actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2449
+ railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
2450
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
2451
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2452
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
2453
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
2454
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
2455
+ actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2456
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2457
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2458
+ activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2459
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2460
+ actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
2461
+ railties (4.0.0) lib/rails/engine.rb:511:in `call'
2462
+ railties (4.0.0) lib/rails/application.rb:97:in `call'
2463
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2464
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2465
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2466
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2467
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2468
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2469
+
2470
+
2471
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
2472
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
2473
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2474
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms)
2475
+
2476
+
2477
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:29:49 +0200
2478
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2479
+ Processing by BookingsController#create as HTML
2480
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
2481
+ Completed 500 Internal Server Error in 20ms
2482
+
2483
+ TypeError (wrong argument type OpenStruct (expected Proc)):
2484
+ /home/rp/devel/acts_as_referred/lib/acts_as_referred/controller.rb:36:in `_supply_model_hook'
2485
+ activesupport (4.0.0) lib/active_support/callbacks.rb:397:in `_run__2176479019258303916__process_action__callbacks'
2486
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
2487
+ actionpack (4.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action'
2488
+ actionpack (4.0.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2489
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2490
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `block in instrument'
2491
+ activesupport (4.0.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2492
+ activesupport (4.0.0) lib/active_support/notifications.rb:159:in `instrument'
2493
+ actionpack (4.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2494
+ actionpack (4.0.0) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2495
+ activerecord (4.0.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2496
+ actionpack (4.0.0) lib/abstract_controller/base.rb:136:in `process'
2497
+ actionpack (4.0.0) lib/abstract_controller/rendering.rb:44:in `process'
2498
+ actionpack (4.0.0) lib/action_controller/metal.rb:195:in `dispatch'
2499
+ actionpack (4.0.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2500
+ actionpack (4.0.0) lib/action_controller/metal.rb:231:in `block in action'
2501
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `call'
2502
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2503
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:48:in `call'
2504
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
2505
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `each'
2506
+ actionpack (4.0.0) lib/action_dispatch/journey/router.rb:59:in `call'
2507
+ actionpack (4.0.0) lib/action_dispatch/routing/route_set.rb:655:in `call'
2508
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2509
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
2510
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2511
+ actionpack (4.0.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2512
+ actionpack (4.0.0) lib/action_dispatch/middleware/flash.rb:241:in `call'
2513
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2514
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2515
+ actionpack (4.0.0) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2516
+ activerecord (4.0.0) lib/active_record/query_cache.rb:36:in `call'
2517
+ activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2518
+ activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
2519
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2520
+ activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__752520503172686971__call__callbacks'
2521
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
2522
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2523
+ actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2524
+ actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2525
+ actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2526
+ actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2527
+ railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
2528
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
2529
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2530
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
2531
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
2532
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
2533
+ actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2534
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2535
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2536
+ activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2537
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2538
+ actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
2539
+ railties (4.0.0) lib/rails/engine.rb:511:in `call'
2540
+ railties (4.0.0) lib/rails/application.rb:97:in `call'
2541
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2542
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2543
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2544
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2545
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2546
+ /home/rp/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2547
+
2548
+
2549
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
2550
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
2551
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2552
+ Rendered /home/rp/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms)
2553
+
2554
+
2555
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:30:19 +0200
2556
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2557
+ Processing by BookingsController#create as HTML
2558
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
2559
+  (0.1ms) begin transaction
2560
+ SQL (2.7ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:30:19 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:30:19 UTC +00:00]]
2561
+ SQL (0.9ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["referable_id", 14], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
2562
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 14], ["referable_type", "Booking"]]
2563
+  (173.3ms) commit transaction
2564
+ Redirected to http://localhost:3000/bookings/14
2565
+ Completed 302 Found in 263ms (ActiveRecord: 178.0ms)
2566
+
2567
+
2568
+ Started GET "/bookings/14" for 127.0.0.1 at 2013-10-01 19:30:19 +0200
2569
+ Processing by BookingsController#show as HTML
2570
+ Parameters: {"id"=>"14"}
2571
+ Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "14"]]
2572
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 14], ["referable_type", "Booking"]]
2573
+ Rendered bookings/show.html.erb within layouts/application (24.3ms)
2574
+ Completed 200 OK in 91ms (Views: 86.6ms | ActiveRecord: 0.7ms)
2575
+
2576
+
2577
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2578
+
2579
+
2580
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2581
+
2582
+
2583
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2584
+
2585
+
2586
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2587
+
2588
+
2589
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2590
+
2591
+
2592
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2593
+
2594
+
2595
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2596
+
2597
+
2598
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2599
+
2600
+
2601
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:20 +0200
2602
+
2603
+
2604
+ Started POST "/bookings" for 127.0.0.1 at 2013-10-01 19:30:50 +0200
2605
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2606
+ Processing by BookingsController#create as HTML
2607
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLjeVPwB+FXqSO8lsz454/ccvFVJX0dLSEaVADBxFNg=", "booking"=>{"thing"=>"", "referrer"=>""}, "commit"=>"Create Booking"}
2608
+  (0.1ms) begin transaction
2609
+ SQL (3.0ms) INSERT INTO "bookings" ("created_at", "referrer", "thing", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 01 Oct 2013 17:30:50 UTC +00:00], ["referrer", ""], ["thing", ""], ["updated_at", Tue, 01 Oct 2013 17:30:50 UTC +00:00]]
2610
+ SQL (0.9ms) INSERT INTO "referees" ("campaign", "is_campaign", "keywords", "referable_id", "referable_type", "request", "request_query", "visits") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["campaign", "summerdeal"], ["is_campaign", true], ["keywords", "terror"], ["referable_id", 15], ["referable_type", "Booking"], ["request", "http://localhost:3000/bookings/new?utm_campaign=summerdeal&utm_term=terror"], ["request_query", "utm_campaign=summerdeal&utm_term=terror"], ["visits", 0]]
2611
+ Referee Load (0.3ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 15], ["referable_type", "Booking"]]
2612
+  (170.4ms) commit transaction
2613
+ Redirected to http://localhost:3000/bookings/15
2614
+ Completed 302 Found in 261ms (ActiveRecord: 175.4ms)
2615
+
2616
+
2617
+ Started GET "/bookings/15" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2618
+ Processing by BookingsController#show as HTML
2619
+ Parameters: {"id"=>"15"}
2620
+ Booking Load (0.4ms) SELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = ? LIMIT 1 [["id", "15"]]
2621
+ Referee Load (0.2ms) SELECT "referees".* FROM "referees" WHERE "referees"."referable_id" = ? AND "referees"."referable_type" = ? ORDER BY "referees"."id" ASC LIMIT 1 [["referable_id", 15], ["referable_type", "Booking"]]
2622
+ Rendered bookings/show.html.erb within layouts/application (26.8ms)
2623
+ Completed 200 OK in 94ms (Views: 89.3ms | ActiveRecord: 0.6ms)
2624
+
2625
+
2626
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2627
+
2628
+
2629
+ Started GET "/assets/orders.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2630
+
2631
+
2632
+ Started GET "/assets/bookings.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2633
+
2634
+
2635
+ Started GET "/assets/orders.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2636
+
2637
+
2638
+ Started GET "/assets/referees.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2639
+
2640
+
2641
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2642
+
2643
+
2644
+ Started GET "/assets/referees.css?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2645
+
2646
+
2647
+ Started GET "/assets/bookings.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200
2648
+
2649
+
2650
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-01 19:30:51 +0200