permitter 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +302 -0
  4. data/Rakefile +32 -0
  5. data/lib/generators/permitter/permission/USAGE +5 -0
  6. data/lib/generators/permitter/permission/permission_generator.rb +16 -0
  7. data/lib/generators/permitter/permission/templates/permission.rb +22 -0
  8. data/lib/generators/permitter/permission/templates/permission_spec.rb +17 -0
  9. data/lib/permitter.rb +4 -0
  10. data/lib/permitter/controller_additions.rb +43 -0
  11. data/lib/permitter/exceptions.rb +17 -0
  12. data/lib/permitter/matchers.rb +11 -0
  13. data/lib/permitter/model_additions.rb +30 -0
  14. data/lib/permitter/permission.rb +72 -0
  15. data/lib/permitter/version.rb +3 -0
  16. data/spec/README.rdoc +21 -0
  17. data/spec/controllers/projects_controller_spec.rb +243 -0
  18. data/spec/controllers/users_controller_spec.rb +77 -0
  19. data/spec/dummy/Rakefile +6 -0
  20. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  21. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  22. data/spec/dummy/app/controllers/application_controller.rb +19 -0
  23. data/spec/dummy/app/controllers/projects_controller.rb +49 -0
  24. data/spec/dummy/app/controllers/users_controller.rb +17 -0
  25. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  26. data/spec/dummy/app/models/permission.rb +26 -0
  27. data/spec/dummy/app/models/project.rb +3 -0
  28. data/spec/dummy/app/models/user.rb +3 -0
  29. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  30. data/spec/dummy/app/views/projects/edit.html.erb +0 -0
  31. data/spec/dummy/app/views/projects/index.html.erb +0 -0
  32. data/spec/dummy/app/views/projects/new.html.erb +0 -0
  33. data/spec/dummy/app/views/projects/show.html.erb +0 -0
  34. data/spec/dummy/app/views/users/index.html.erb +0 -0
  35. data/spec/dummy/app/views/users/show.html.erb +0 -0
  36. data/spec/dummy/bin/bundle +3 -0
  37. data/spec/dummy/bin/rails +4 -0
  38. data/spec/dummy/bin/rake +4 -0
  39. data/spec/dummy/config.ru +4 -0
  40. data/spec/dummy/config/application.rb +23 -0
  41. data/spec/dummy/config/boot.rb +5 -0
  42. data/spec/dummy/config/database.yml +25 -0
  43. data/spec/dummy/config/environment.rb +5 -0
  44. data/spec/dummy/config/environments/development.rb +29 -0
  45. data/spec/dummy/config/environments/production.rb +80 -0
  46. data/spec/dummy/config/environments/test.rb +36 -0
  47. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  48. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/spec/dummy/config/initializers/inflections.rb +16 -0
  50. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  51. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  52. data/spec/dummy/config/initializers/session_store.rb +3 -0
  53. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/spec/dummy/config/locales/en.yml +23 -0
  55. data/spec/dummy/config/routes.rb +59 -0
  56. data/spec/dummy/db/development.sqlite3 +0 -0
  57. data/spec/dummy/db/migrate/20131205175023_create_projects.rb +10 -0
  58. data/spec/dummy/db/migrate/20131205175100_create_users.rb +10 -0
  59. data/spec/dummy/db/migrate/20131210152022_add_columns_to_projects.rb +5 -0
  60. data/spec/dummy/db/schema.rb +31 -0
  61. data/spec/dummy/db/test.sqlite3 +0 -0
  62. data/spec/dummy/log/development.log +825 -0
  63. data/spec/dummy/log/test.log +44662 -0
  64. data/spec/dummy/public/404.html +58 -0
  65. data/spec/dummy/public/422.html +58 -0
  66. data/spec/dummy/public/500.html +57 -0
  67. data/spec/dummy/public/favicon.ico +0 -0
  68. data/spec/factories/project.rb +6 -0
  69. data/spec/factories/user.rb +10 -0
  70. data/spec/models/permission_spec.rb +72 -0
  71. data/spec/permitter/controller_additions_spec.rb +44 -0
  72. data/spec/permitter/exceptions_spec.rb +36 -0
  73. data/spec/permitter/matchers_spec.rb +9 -0
  74. data/spec/permitter/model_additions_spec.rb +138 -0
  75. data/spec/permitter/permission_spec.rb +84 -0
  76. data/spec/spec_helper.rb +32 -0
  77. metadata +278 -0
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -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 = 'ef39aa9d0d6c731b2edfe9ffabd47dc3e4255e3756d801df7863e18d254a4a34e7aab237108e13f2ae29e9db90557dcacf2f3c9e174f67db3a665b7348b253fc'
@@ -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
+ resources :projects
3
+ resources :users, only: [:index, :show]
4
+
5
+ # The priority is based upon order of creation: first created -> highest priority.
6
+ # See how all your routes lay out with "rake routes".
7
+
8
+ # You can have the root of your site routed with "root"
9
+ # root 'welcome#index'
10
+
11
+ # 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
@@ -0,0 +1,10 @@
1
+ class CreateProjects < ActiveRecord::Migration
2
+ def change
3
+ create_table :projects do |t|
4
+ t.integer :user_id
5
+ t.string :title
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :username
5
+ t.boolean :admin
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class AddColumnsToProjects < ActiveRecord::Migration
2
+ def change
3
+ add_column :projects, :sticky, :boolean
4
+ end
5
+ end
@@ -0,0 +1,31 @@
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: 20131210152022) do
15
+
16
+ create_table "projects", force: true do |t|
17
+ t.integer "user_id"
18
+ t.string "title"
19
+ t.datetime "created_at"
20
+ t.datetime "updated_at"
21
+ t.boolean "sticky"
22
+ end
23
+
24
+ create_table "users", force: true do |t|
25
+ t.string "username"
26
+ t.boolean "admin"
27
+ t.datetime "created_at"
28
+ t.datetime "updated_at"
29
+ end
30
+
31
+ end
@@ -0,0 +1,825 @@
1
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateProjects (20131205175023)
5
+  (0.1ms) begin transaction
6
+  (0.6ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
8
+  (0.9ms) commit transaction
9
+ Migrating to CreateUsers (20131205175100)
10
+  (0.1ms) begin transaction
11
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
12
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
13
+  (0.9ms) commit transaction
14
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+  (1.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
18
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
19
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
20
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
+  (0.2ms) SELECT version FROM "schema_migrations"
22
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
23
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
24
+ Processing by ProjectsController#index as HTML
25
+ Completed 500 Internal Server Error in 2ms
26
+ Processing by ProjectsController#index as HTML
27
+ Completed 500 Internal Server Error in 1ms
28
+  (0.1ms) begin transaction
29
+ SQL (6.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:11:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:11:53 UTC +00:00]]
30
+  (0.9ms) commit transaction
31
+  (0.1ms) begin transaction
32
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:11:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:11:53 UTC +00:00]]
33
+  (0.8ms) commit transaction
34
+ Processing by ProjectsController#index as HTML
35
+ Completed 500 Internal Server Error in 1ms
36
+ Processing by ProjectsController#index as HTML
37
+ Completed 500 Internal Server Error in 2ms
38
+ Processing by ProjectsController#index as HTML
39
+ Completed 500 Internal Server Error in 1ms
40
+  (0.1ms) begin transaction
41
+ SQL (4.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:15:00 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:15:00 UTC +00:00]]
42
+  (0.8ms) commit transaction
43
+  (0.1ms) begin transaction
44
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:15:00 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:15:00 UTC +00:00]]
45
+  (0.7ms) commit transaction
46
+ Processing by ProjectsController#index as HTML
47
+ Completed 500 Internal Server Error in 1ms
48
+ Processing by ProjectsController#index as HTML
49
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
50
+ Redirected to http://test.host/
51
+ Completed 302 Found in 15ms (ActiveRecord: 2.5ms)
52
+ Processing by ProjectsController#index as HTML
53
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
54
+ Redirected to http://test.host/
55
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
56
+  (0.1ms) begin transaction
57
+ SQL (5.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:18:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:18:04 UTC +00:00]]
58
+  (0.8ms) commit transaction
59
+  (0.1ms) begin transaction
60
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:18:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:18:04 UTC +00:00]]
61
+  (0.7ms) commit transaction
62
+ Processing by ProjectsController#index as HTML
63
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
64
+ Redirected to http://test.host/
65
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
66
+ Processing by ProjectsController#index as HTML
67
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
68
+ Redirected to http://test.host/
69
+ Completed 302 Found in 18ms (ActiveRecord: 3.2ms)
70
+ Processing by ProjectsController#index as HTML
71
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
72
+ Redirected to http://test.host/
73
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
74
+  (0.1ms) begin transaction
75
+ SQL (6.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:21:11 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:21:11 UTC +00:00]]
76
+  (0.8ms) commit transaction
77
+  (0.1ms) begin transaction
78
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:21:11 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:21:11 UTC +00:00]]
79
+  (0.7ms) commit transaction
80
+ Processing by ProjectsController#index as HTML
81
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
82
+ Redirected to http://test.host/
83
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
84
+ Processing by ProjectsController#index as HTML
85
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
86
+ Redirected to http://test.host/
87
+ Completed 302 Found in 13ms (ActiveRecord: 2.6ms)
88
+  (0.1ms) begin transaction
89
+ SQL (6.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:22:28 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:22:28 UTC +00:00]]
90
+  (0.9ms) commit transaction
91
+  (0.1ms) begin transaction
92
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:22:28 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:22:28 UTC +00:00]]
93
+  (0.8ms) commit transaction
94
+ Processing by ProjectsController#index as HTML
95
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
96
+ Redirected to http://test.host/
97
+ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
98
+ Processing by ProjectsController#index as HTML
99
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
100
+ Redirected to http://test.host/
101
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
102
+  (0.1ms) begin transaction
103
+ SQL (7.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:23:50 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:23:50 UTC +00:00]]
104
+  (0.7ms) commit transaction
105
+  (0.1ms) begin transaction
106
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:23:50 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:23:50 UTC +00:00]]
107
+  (0.8ms) commit transaction
108
+ Processing by ProjectsController#index as HTML
109
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
110
+ Redirected to http://test.host/
111
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
112
+ Processing by ProjectsController#index as HTML
113
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
114
+ Redirected to http://test.host/
115
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
116
+ Processing by ProjectsController#index as HTML
117
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
118
+ Redirected to http://test.host/
119
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
120
+ Processing by ProjectsController#index as HTML
121
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
122
+ Redirected to http://test.host/
123
+ Completed 302 Found in 15ms (ActiveRecord: 4.7ms)
124
+ Processing by ProjectsController#index as HTML
125
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
126
+ Redirected to http://test.host/
127
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
128
+  (0.1ms) begin transaction
129
+ SQL (5.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:28:05 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:28:05 UTC +00:00]]
130
+  (0.8ms) commit transaction
131
+  (0.1ms) begin transaction
132
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:28:05 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:28:05 UTC +00:00]]
133
+  (0.8ms) commit transaction
134
+ Processing by ProjectsController#index as HTML
135
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
136
+ Redirected to http://test.host/
137
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
138
+ Processing by ProjectsController#index as HTML
139
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
140
+ Redirected to http://test.host/projects
141
+ Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
142
+ Processing by ProjectsController#index as HTML
143
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
144
+ Redirected to http://test.host/projects
145
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
146
+  (0.1ms) begin transaction
147
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:28:17 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:28:17 UTC +00:00]]
148
+  (0.8ms) commit transaction
149
+  (0.1ms) begin transaction
150
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:28:17 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:28:17 UTC +00:00]]
151
+  (0.8ms) commit transaction
152
+ Processing by ProjectsController#index as HTML
153
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
154
+ Redirected to http://test.host/projects
155
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
156
+ Processing by ProjectsController#index as HTML
157
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
158
+ Redirected to http://test.host/projects
159
+ Completed 302 Found in 17ms (ActiveRecord: 2.3ms)
160
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
161
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
162
+  (4.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
163
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
164
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
165
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
166
+  (0.1ms) SELECT version FROM "schema_migrations"
167
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
168
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
169
+  (0.1ms) begin transaction
170
+ SQL (5.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:30:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:30:04 UTC +00:00]]
171
+  (0.9ms) commit transaction
172
+  (0.1ms) begin transaction
173
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:30:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:30:04 UTC +00:00]]
174
+  (2.0ms) commit transaction
175
+ Processing by ProjectsController#index as HTML
176
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
177
+ Redirected to http://test.host/projects
178
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
179
+ Processing by ProjectsController#index as HTML
180
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
181
+ Redirected to http://test.host/projects
182
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
183
+  (0.1ms) begin transaction
184
+ SQL (4.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:30:10 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:30:10 UTC +00:00]]
185
+  (1.0ms) commit transaction
186
+  (0.1ms) begin transaction
187
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:30:10 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:30:10 UTC +00:00]]
188
+  (0.8ms) commit transaction
189
+ Processing by ProjectsController#index as HTML
190
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
191
+ Redirected to http://test.host/projects
192
+ Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
193
+ Processing by ProjectsController#index as HTML
194
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
195
+ Redirected to http://test.host/projects
196
+ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
197
+ Processing by ProjectsController#index as HTML
198
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
199
+ Redirected to http://test.host/projects
200
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
201
+  (0.1ms) begin transaction
202
+ SQL (4.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:31:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:31:53 UTC +00:00]]
203
+  (0.9ms) commit transaction
204
+  (0.1ms) begin transaction
205
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:31:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:31:53 UTC +00:00]]
206
+  (0.7ms) commit transaction
207
+ Processing by ProjectsController#index as HTML
208
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
209
+ Completed 200 OK in 9ms (ActiveRecord: 0.7ms)
210
+ Processing by ProjectsController#index as HTML
211
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
212
+ Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
213
+ Processing by ProjectsController#index as HTML
214
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
215
+ Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
216
+  (0.1ms) begin transaction
217
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:34:12 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:34:12 UTC +00:00]]
218
+  (0.8ms) commit transaction
219
+  (0.1ms) begin transaction
220
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:34:12 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:34:12 UTC +00:00]]
221
+  (0.9ms) commit transaction
222
+ Processing by ProjectsController#index as HTML
223
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
224
+ Completed 200 OK in 13ms (ActiveRecord: 0.6ms)
225
+ Processing by ProjectsController#index as HTML
226
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
227
+ Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
228
+ Processing by ProjectsController#index as HTML
229
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
230
+ Completed 200 OK in 2ms (ActiveRecord: 0.4ms)
231
+ Processing by ProjectsController#index as HTML
232
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
233
+ Completed 200 OK in 10ms (ActiveRecord: 1.7ms)
234
+  (0.1ms) begin transaction
235
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:38:25 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:38:25 UTC +00:00]]
236
+  (0.8ms) commit transaction
237
+  (0.1ms) begin transaction
238
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:38:25 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:38:25 UTC +00:00]]
239
+  (0.8ms) commit transaction
240
+ Processing by ProjectsController#index as HTML
241
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
242
+ Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
243
+ Processing by ProjectsController#index as HTML
244
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
245
+ Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
246
+ Processing by ProjectsController#index as HTML
247
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
248
+ Completed 500 Internal Server Error in 11ms
249
+ Processing by ProjectsController#index as HTML
250
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
251
+ Completed 500 Internal Server Error in 1ms
252
+  (0.1ms) begin transaction
253
+ SQL (4.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:39:20 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:39:20 UTC +00:00]]
254
+  (0.9ms) commit transaction
255
+  (0.1ms) begin transaction
256
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:39:20 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:39:20 UTC +00:00]]
257
+  (0.8ms) commit transaction
258
+ Processing by ProjectsController#index as HTML
259
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
260
+ Completed 500 Internal Server Error in 2ms
261
+  (0.1ms) begin transaction
262
+ SQL (4.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:41:18 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:41:18 UTC +00:00]]
263
+  (0.9ms) commit transaction
264
+  (0.1ms) begin transaction
265
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:41:18 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:41:18 UTC +00:00]]
266
+  (0.8ms) commit transaction
267
+ Processing by ProjectsController#index as HTML
268
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
269
+ Completed 500 Internal Server Error in 10ms
270
+ Processing by ProjectsController#index as HTML
271
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
272
+ Completed 500 Internal Server Error in 1ms
273
+ Processing by ProjectsController#index as HTML
274
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
275
+ Completed 500 Internal Server Error in 1ms
276
+ Processing by ProjectsController#index as HTML
277
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
278
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
279
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
280
+ Completed 500 Internal Server Error in 149298ms
281
+ Processing by ProjectsController#index as HTML
282
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
283
+ Completed 500 Internal Server Error in 8209ms
284
+  (0.1ms) begin transaction
285
+ SQL (5.7ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:44:14 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:44:14 UTC +00:00]]
286
+  (0.8ms) commit transaction
287
+  (0.1ms) begin transaction
288
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:44:14 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:44:14 UTC +00:00]]
289
+  (0.8ms) commit transaction
290
+ Processing by ProjectsController#index as HTML
291
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
292
+ Completed 500 Internal Server Error in 1771ms
293
+ Processing by ProjectsController#index as HTML
294
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
295
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
296
+ Rendered projects/index.html.erb within layouts/application (0.5ms)
297
+ Completed 200 OK in 34703ms (Views: 67.2ms | ActiveRecord: 2.5ms)
298
+ Processing by ProjectsController#index as HTML
299
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
300
+ Completed 200 OK in 1848ms (Views: 2.4ms | ActiveRecord: 0.2ms)
301
+  (0.1ms) begin transaction
302
+ SQL (4.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:45:03 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:45:03 UTC +00:00]]
303
+  (0.8ms) commit transaction
304
+  (0.1ms) begin transaction
305
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:45:03 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:45:03 UTC +00:00]]
306
+  (1.7ms) commit transaction
307
+ Processing by ProjectsController#index as HTML
308
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
309
+ Completed 200 OK in 2028ms (Views: 8.0ms | ActiveRecord: 0.2ms)
310
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
311
+ Processing by ProjectsController#index as HTML
312
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
313
+ Completed 500 Internal Server Error in 11ms
314
+ Processing by ProjectsController#index as HTML
315
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
316
+ Completed 500 Internal Server Error in 1ms
317
+  (0.2ms) begin transaction
318
+ SQL (3.9ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:45:56 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:45:56 UTC +00:00]]
319
+  (0.9ms) commit transaction
320
+  (0.1ms) begin transaction
321
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:45:56 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:45:56 UTC +00:00]]
322
+  (0.8ms) commit transaction
323
+ Processing by ProjectsController#index as HTML
324
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
325
+ Completed 500 Internal Server Error in 1ms
326
+ Processing by ProjectsController#index as HTML
327
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
328
+ Rendered projects/index.html.erb within layouts/application (0.5ms)
329
+ Completed 200 OK in 23623ms (Views: 10.8ms | ActiveRecord: 1.8ms)
330
+ Processing by ProjectsController#index as HTML
331
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
332
+ Completed 200 OK in 9750ms (Views: 2.8ms | ActiveRecord: 0.3ms)
333
+  (0.1ms) begin transaction
334
+ SQL (5.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:49:59 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:49:59 UTC +00:00]]
335
+  (0.8ms) commit transaction
336
+  (0.1ms) begin transaction
337
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:49:59 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:49:59 UTC +00:00]]
338
+  (0.8ms) commit transaction
339
+ Processing by ProjectsController#index as HTML
340
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
341
+ Completed 200 OK in 3842ms (Views: 2.5ms | ActiveRecord: 0.2ms)
342
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
343
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
344
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
345
+  (1.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
346
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
347
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
348
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
349
+  (0.2ms) SELECT version FROM "schema_migrations"
350
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
351
+  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
352
+  (0.1ms) begin transaction
353
+ SQL (4.1ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:08 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:08 UTC +00:00]]
354
+  (0.9ms) commit transaction
355
+  (0.1ms) begin transaction
356
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:08 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:08 UTC +00:00]]
357
+  (0.8ms) commit transaction
358
+ Processing by ProjectsController#index as HTML
359
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
360
+ Completed 500 Internal Server Error in 9ms
361
+ Processing by ProjectsController#index as HTML
362
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
363
+ Completed 500 Internal Server Error in 1ms
364
+ Processing by ProjectsController#index as HTML
365
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
366
+ Completed 500 Internal Server Error in 1ms
367
+ Processing by ProjectsController#index as HTML
368
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
369
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
370
+ Completed 200 OK in 28ms (Views: 10.1ms | ActiveRecord: 2.7ms)
371
+  (0.1ms) begin transaction
372
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:22 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:22 UTC +00:00]]
373
+  (0.8ms) commit transaction
374
+  (0.1ms) begin transaction
375
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:22 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:22 UTC +00:00]]
376
+  (0.8ms) commit transaction
377
+ Processing by ProjectsController#index as HTML
378
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
379
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
380
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
381
+ Processing by ProjectsController#index as HTML
382
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
383
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
384
+ Processing by ProjectsController#index as HTML
385
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
386
+ Completed 500 Internal Server Error in 10ms
387
+ Processing by ProjectsController#index as HTML
388
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
389
+ Completed 500 Internal Server Error in 2ms
390
+  (0.1ms) begin transaction
391
+ SQL (5.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:57 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:57 UTC +00:00]]
392
+  (8.1ms) commit transaction
393
+  (0.1ms) begin transaction
394
+ SQL (1.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:51:57 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:51:57 UTC +00:00]]
395
+  (0.9ms) commit transaction
396
+ Processing by ProjectsController#index as HTML
397
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
398
+ Completed 500 Internal Server Error in 1ms
399
+  (0.1ms) begin transaction
400
+ SQL (4.2ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:52:02 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:52:02 UTC +00:00]]
401
+  (0.8ms) commit transaction
402
+  (0.1ms) begin transaction
403
+ SQL (0.7ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:52:02 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:52:02 UTC +00:00]]
404
+  (1.1ms) commit transaction
405
+ Processing by ProjectsController#index as HTML
406
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
407
+ Completed 500 Internal Server Error in 9ms
408
+ Processing by ProjectsController#index as HTML
409
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
410
+ Completed 500 Internal Server Error in 1ms
411
+ Processing by ProjectsController#index as HTML
412
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
413
+ Completed 500 Internal Server Error in 1ms
414
+  (0.1ms) begin transaction
415
+ SQL (4.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:52:07 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:52:07 UTC +00:00]]
416
+  (4.0ms) commit transaction
417
+  (0.1ms) begin transaction
418
+ SQL (0.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:52:07 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:52:07 UTC +00:00]]
419
+  (0.8ms) commit transaction
420
+ Processing by ProjectsController#index as HTML
421
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
422
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
423
+ Completed 200 OK in 18ms (Views: 7.6ms | ActiveRecord: 0.6ms)
424
+ Project Load (0.5ms) SELECT "projects".* FROM "projects"
425
+ Processing by ProjectsController#index as HTML
426
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
427
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
428
+ Processing by ProjectsController#index as HTML
429
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
430
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
431
+ Processing by ProjectsController#index as HTML
432
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
433
+ Rendered projects/index.html.erb within layouts/application (0.5ms)
434
+ Completed 200 OK in 25ms (Views: 11.4ms | ActiveRecord: 1.7ms)
435
+  (0.1ms) begin transaction
436
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:54:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:54:04 UTC +00:00]]
437
+  (0.9ms) commit transaction
438
+  (0.1ms) begin transaction
439
+ SQL (0.6ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:54:04 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:54:04 UTC +00:00]]
440
+  (0.8ms) commit transaction
441
+ Processing by ProjectsController#index as HTML
442
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
443
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
444
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
445
+ Processing by ProjectsController#index as HTML
446
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
447
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
448
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
449
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
450
+  (1.2ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
451
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
452
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
453
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
454
+  (0.1ms) SELECT version FROM "schema_migrations"
455
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
456
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
457
+ Processing by ProjectsController#index as HTML
458
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
459
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
460
+ Completed 200 OK in 35ms (Views: 16.9ms | ActiveRecord: 2.0ms)
461
+  (0.1ms) begin transaction
462
+ SQL (4.7ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:54:23 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:54:23 UTC +00:00]]
463
+  (0.8ms) commit transaction
464
+  (0.1ms) begin transaction
465
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 19:54:23 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 19:54:23 UTC +00:00]]
466
+  (0.8ms) commit transaction
467
+ Processing by ProjectsController#index as HTML
468
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
469
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms)
470
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
471
+ Processing by ProjectsController#index as HTML
472
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
473
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
474
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
475
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
476
+  (1.2ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
477
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
478
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
479
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
480
+  (0.1ms) SELECT version FROM "schema_migrations"
481
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
482
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
483
+ Processing by ProjectsController#index as HTML
484
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
485
+ Completed 500 Internal Server Error in 26ms
486
+ Processing by ProjectsController#index as HTML
487
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
488
+ Completed 500 Internal Server Error in 2ms
489
+  (0.1ms) begin transaction
490
+ SQL (5.5ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:05:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:05:53 UTC +00:00]]
491
+  (0.9ms) commit transaction
492
+  (0.1ms) begin transaction
493
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:05:53 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:05:53 UTC +00:00]]
494
+  (0.7ms) commit transaction
495
+ Processing by ProjectsController#index as HTML
496
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
497
+ Completed 500 Internal Server Error in 2ms
498
+ Processing by ProjectsController#index as HTML
499
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
500
+ Rendered projects/index.html.erb within layouts/application (0.5ms)
501
+ Completed 200 OK in 34ms (Views: 10.0ms | ActiveRecord: 2.7ms)
502
+ Processing by ProjectsController#index as HTML
503
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
504
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
505
+  (0.1ms) begin transaction
506
+ SQL (5.0ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:06:29 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:06:29 UTC +00:00]]
507
+  (0.8ms) commit transaction
508
+  (0.1ms) begin transaction
509
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:06:29 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:06:29 UTC +00:00]]
510
+  (0.7ms) commit transaction
511
+ Processing by ProjectsController#index as HTML
512
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
513
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
514
+ Project Load (0.6ms) SELECT "projects".* FROM "projects"
515
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
516
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
517
+  (1.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
518
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
519
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
520
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
521
+  (0.1ms) SELECT version FROM "schema_migrations"
522
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
523
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
524
+ Processing by ProjectsController#index as HTML
525
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
526
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
527
+ Completed 200 OK in 73ms (Views: 9.4ms | ActiveRecord: 48.8ms)
528
+ Processing by ProjectsController#index as HTML
529
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
530
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
531
+  (0.1ms) begin transaction
532
+ SQL (5.3ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:07:18 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:07:18 UTC +00:00]]
533
+  (0.9ms) commit transaction
534
+  (0.1ms) begin transaction
535
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 20:07:19 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 20:07:19 UTC +00:00]]
536
+  (0.8ms) commit transaction
537
+ Processing by ProjectsController#index as HTML
538
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
539
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms)
540
+ Project Load (0.5ms) SELECT "projects".* FROM "projects"
541
+ Processing by ProjectsController#index as HTML
542
+ User Load (0.7ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
543
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
544
+ Completed 200 OK in 36ms (Views: 13.6ms | ActiveRecord: 2.7ms)
545
+ Processing by ProjectsController#index as HTML
546
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
547
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
548
+  (0.1ms) begin transaction
549
+ SQL (6.0ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:06 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:17:06 UTC +00:00]]
550
+  (0.8ms) commit transaction
551
+  (0.1ms) begin transaction
552
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:06 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:17:06 UTC +00:00]]
553
+  (0.8ms) commit transaction
554
+ Processing by ProjectsController#index as HTML
555
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
556
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms)
557
+ Project Load (0.5ms) SELECT "projects".* FROM "projects"
558
+ Processing by ProjectsController#index as HTML
559
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
560
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
561
+ Completed 200 OK in 27ms (Views: 10.2ms | ActiveRecord: 2.5ms)
562
+  (0.1ms) begin transaction
563
+ SQL (4.8ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:22 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:17:22 UTC +00:00]]
564
+  (1.1ms) commit transaction
565
+  (0.1ms) begin transaction
566
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:22 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:17:22 UTC +00:00]]
567
+  (0.8ms) commit transaction
568
+ Processing by ProjectsController#index as HTML
569
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
570
+ Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.3ms)
571
+ Project Load (0.5ms) SELECT "projects".* FROM "projects"
572
+ Processing by ProjectsController#index as HTML
573
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
574
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)
575
+  (0.1ms) begin transaction
576
+ SQL (5.7ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:34 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:17:34 UTC +00:00]]
577
+  (0.9ms) commit transaction
578
+  (0.1ms) begin transaction
579
+ SQL (0.6ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:17:34 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:17:34 UTC +00:00]]
580
+  (0.9ms) commit transaction
581
+ Processing by ProjectsController#index as HTML
582
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
583
+ Rendered projects/index.html.erb within layouts/application (0.3ms)
584
+ Completed 200 OK in 19ms (Views: 8.7ms | ActiveRecord: 0.6ms)
585
+ Project Load (0.4ms) SELECT "projects".* FROM "projects"
586
+ Processing by ProjectsController#index as HTML
587
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
588
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
589
+ Processing by ProjectsController#index as HTML
590
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
591
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)
592
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
593
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
594
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
595
+ Migrating to CreateProjects (20131205175023)
596
+  (0.1ms) begin transaction
597
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
598
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
599
+  (1.0ms) commit transaction
600
+ Migrating to CreateUsers (20131205175100)
601
+  (0.1ms) begin transaction
602
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
603
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
604
+  (0.9ms) commit transaction
605
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
606
+  (1.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
607
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
608
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
609
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
610
+  (0.1ms) SELECT version FROM "schema_migrations"
611
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
612
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
613
+  (0.1ms) begin transaction
614
+ SQL (4.8ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:18:40 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:18:40 UTC +00:00]]
615
+  (0.8ms) commit transaction
616
+  (0.1ms) begin transaction
617
+ SQL (0.5ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:18:40 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:18:40 UTC +00:00]]
618
+  (0.8ms) commit transaction
619
+ Processing by ProjectsController#index as HTML
620
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
621
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
622
+ Completed 200 OK in 19ms (Views: 8.4ms | ActiveRecord: 0.7ms)
623
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
624
+ Processing by ProjectsController#index as HTML
625
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
626
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
627
+ Processing by ProjectsController#index as HTML
628
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
629
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
630
+ Processing by ProjectsController#index as HTML
631
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
632
+ Rendered projects/index.html.erb within layouts/application (0.5ms)
633
+ Completed 200 OK in 24ms (Views: 9.4ms | ActiveRecord: 1.7ms)
634
+ Processing by ProjectsController#index as HTML
635
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
636
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms)
637
+  (0.1ms) begin transaction
638
+ SQL (3.8ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:18:46 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:18:46 UTC +00:00]]
639
+  (0.8ms) commit transaction
640
+  (0.1ms) begin transaction
641
+ SQL (0.4ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:18:46 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:18:46 UTC +00:00]]
642
+  (0.8ms) commit transaction
643
+ Processing by ProjectsController#index as HTML
644
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
645
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
646
+ Project Load (0.3ms) SELECT "projects".* FROM "projects"
647
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
648
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
649
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
650
+ Migrating to CreateProjects (20131205175023)
651
+  (0.1ms) begin transaction
652
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
653
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
654
+  (0.9ms) commit transaction
655
+ Migrating to CreateUsers (20131205175100)
656
+  (0.1ms) begin transaction
657
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
658
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
659
+  (0.8ms) commit transaction
660
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
661
+  (1.2ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
662
+  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
663
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
664
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
665
+  (0.1ms) SELECT version FROM "schema_migrations"
666
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
667
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
668
+ Processing by ProjectsController#index as HTML
669
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
670
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
671
+ Completed 200 OK in 30ms (Views: 12.2ms | ActiveRecord: 2.4ms)
672
+  (0.2ms) begin transaction
673
+ SQL (4.9ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:20:42 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:20:42 UTC +00:00]]
674
+  (2.6ms) commit transaction
675
+  (0.2ms) begin transaction
676
+ SQL (0.6ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:20:42 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:20:42 UTC +00:00]]
677
+  (1.2ms) commit transaction
678
+ Processing by ProjectsController#index as HTML
679
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
680
+ Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.6ms)
681
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
682
+ Processing by ProjectsController#index as HTML
683
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
684
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
685
+ Processing by ProjectsController#index as HTML
686
+ User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
687
+ Rendered projects/index.html.erb within layouts/application (0.4ms)
688
+ Completed 200 OK in 25ms (Views: 7.8ms | ActiveRecord: 3.1ms)
689
+ Processing by ProjectsController#index as HTML
690
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
691
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms)
692
+  (0.1ms) begin transaction
693
+ SQL (4.5ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:20:47 UTC +00:00], ["title", "ti1tle"], ["updated_at", Thu, 05 Dec 2013 20:20:47 UTC +00:00]]
694
+  (1.3ms) commit transaction
695
+  (0.1ms) begin transaction
696
+ SQL (0.7ms) INSERT INTO "projects" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 05 Dec 2013 20:20:47 UTC +00:00], ["title", "ti2tle"], ["updated_at", Thu, 05 Dec 2013 20:20:47 UTC +00:00]]
697
+  (3.0ms) commit transaction
698
+ Processing by ProjectsController#index as HTML
699
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
700
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
701
+ Project Load (0.2ms) SELECT "projects".* FROM "projects"
702
+  (0.2ms) TRUNCATE TABLE projects;
703
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
704
+  (0.2ms) TRUNCATE TABLE projects;
705
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
706
+  (0.2ms) TRUNCATE TABLE projects;
707
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
708
+  (0.2ms) TRUNCATE TABLE projects;
709
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
710
+  (0.2ms) TRUNCATE TABLE projects;
711
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
712
+  (0.1ms) TRUNCATE TABLE projects;
713
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
714
+  (0.1ms) TRUNCATE TABLE projects;
715
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
716
+  (0.1ms) TRUNCATE TABLE projects;
717
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
718
+  (0.1ms) TRUNCATE TABLE projects;
719
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
720
+  (0.1ms) TRUNCATE TABLE projects;
721
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
722
+  (0.1ms) TRUNCATE TABLE projects;
723
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
724
+  (0.1ms) TRUNCATE TABLE projects;
725
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
726
+  (0.2ms) TRUNCATE TABLE projects;
727
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
728
+  (0.2ms) TRUNCATE TABLE projects;
729
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
730
+  (0.2ms) TRUNCATE TABLE projects;
731
+ SQLite3::SQLException: near "TRUNCATE": syntax error: TRUNCATE TABLE projects;
732
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
733
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
734
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
735
+ Migrating to CreateProjects (20131205175023)
736
+  (0.1ms) begin transaction
737
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
738
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
739
+  (0.9ms) commit transaction
740
+ Migrating to CreateUsers (20131205175100)
741
+  (0.1ms) begin transaction
742
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
743
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
744
+  (0.9ms) commit transaction
745
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
746
+  (1.2ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
747
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
748
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
749
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
750
+  (0.1ms) SELECT version FROM "schema_migrations"
751
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
752
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
753
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
754
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
755
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
756
+ Migrating to CreateProjects (20131205175023)
757
+  (0.1ms) begin transaction
758
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
759
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
760
+  (0.9ms) commit transaction
761
+ Migrating to CreateUsers (20131205175100)
762
+  (0.1ms) begin transaction
763
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
764
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
765
+  (0.9ms) commit transaction
766
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
767
+  (1.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
768
+  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
769
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
770
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
771
+  (0.1ms) SELECT version FROM "schema_migrations"
772
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
773
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
774
+ Project Load (1.9ms) SELECT "projects".* FROM "projects"
775
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
776
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
777
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
778
+ Migrating to CreateProjects (20131205175023)
779
+  (0.1ms) begin transaction
780
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
781
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
782
+  (0.9ms) commit transaction
783
+ Migrating to CreateUsers (20131205175100)
784
+  (0.1ms) begin transaction
785
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
786
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
787
+  (0.8ms) commit transaction
788
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
789
+  (1.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
790
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
791
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
792
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
793
+  (0.1ms) SELECT version FROM "schema_migrations"
794
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
795
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
796
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
797
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
798
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
799
+ Migrating to CreateProjects (20131205175023)
800
+  (0.1ms) begin transaction
801
+  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
802
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175023"]]
803
+  (0.9ms) commit transaction
804
+ Migrating to CreateUsers (20131205175100)
805
+  (0.1ms) begin transaction
806
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime) 
807
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205175100"]]
808
+  (0.8ms) commit transaction
809
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
810
+  (1.4ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
811
+  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "admin" boolean, "created_at" datetime, "updated_at" datetime)
812
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
813
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
814
+  (0.1ms) SELECT version FROM "schema_migrations"
815
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175100')
816
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205175023')
817
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
818
+ Migrating to AddColumnsToProjects (20131210152022)
819
+  (0.1ms) begin transaction
820
+  (2.0ms) ALTER TABLE "projects" ADD "sticky" boolean
821
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210152022"]]
822
+  (0.8ms) commit transaction
823
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
824
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
825
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"