before_actions 1.0.2 → 1.0.3

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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +106 -0
  3. data/Rakefile +13 -19
  4. data/app/controllers/before_actions/foo_controller.rb +8 -0
  5. data/lib/before_actions.rb +7 -1
  6. data/lib/before_actions/controller.rb +29 -20
  7. data/lib/before_actions/engine.rb +7 -0
  8. data/lib/before_actions/version.rb +1 -1
  9. data/spec/controllers/admin_foos_controller_spec.rb +78 -0
  10. data/spec/controllers/foos_controller_spec.rb +139 -0
  11. data/{test → spec}/dummy/README.rdoc +0 -0
  12. data/{test → spec}/dummy/Rakefile +0 -0
  13. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -3
  14. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  15. data/spec/dummy/app/controllers/admin_foos_controller.rb +53 -0
  16. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  17. data/spec/dummy/app/controllers/foos_controller.rb +92 -0
  18. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  19. data/spec/dummy/app/models/admin_foo.rb +2 -0
  20. data/spec/dummy/app/models/foo.rb +3 -0
  21. data/spec/dummy/app/views/admin_foos/_form.html.erb +21 -0
  22. data/spec/dummy/app/views/admin_foos/edit.html.erb +6 -0
  23. data/spec/dummy/app/views/admin_foos/index.html.erb +25 -0
  24. data/spec/dummy/app/views/admin_foos/new.html.erb +5 -0
  25. data/spec/dummy/app/views/admin_foos/show.html.erb +9 -0
  26. data/spec/dummy/app/views/foos/_form.html.erb +21 -0
  27. data/spec/dummy/app/views/foos/edit.html.erb +6 -0
  28. data/spec/dummy/app/views/foos/index.html.erb +25 -0
  29. data/spec/dummy/app/views/foos/new.html.erb +5 -0
  30. data/spec/dummy/app/views/foos/show.html.erb +9 -0
  31. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  32. data/{test → spec}/dummy/bin/bundle +0 -0
  33. data/{test → spec}/dummy/bin/rails +0 -0
  34. data/{test → spec}/dummy/bin/rake +0 -0
  35. data/{test → spec}/dummy/config.ru +0 -0
  36. data/{test → spec}/dummy/config/application.rb +8 -0
  37. data/{test → spec}/dummy/config/boot.rb +0 -0
  38. data/{test → spec}/dummy/config/database.yml +0 -0
  39. data/{test → spec}/dummy/config/environment.rb +0 -0
  40. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  41. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  42. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  43. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  44. data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  45. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  46. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  47. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  48. data/spec/dummy/config/initializers/session_store.rb +3 -0
  49. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  50. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  51. data/{test → spec}/dummy/config/routes.rb +4 -0
  52. data/spec/dummy/db/development.sqlite3 +0 -0
  53. data/spec/dummy/db/migrate/20140912040816_create_foos.rb +9 -0
  54. data/spec/dummy/db/migrate/20140912042735_create_admin_foos.rb +9 -0
  55. data/spec/dummy/db/schema.rb +28 -0
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/dummy/lib/templates/rails/scaffold_controller/controller.rb +97 -0
  58. data/spec/dummy/log/development.log +15 -0
  59. data/spec/dummy/log/test.log +1590 -0
  60. data/{test → spec}/dummy/public/404.html +0 -0
  61. data/{test → spec}/dummy/public/422.html +0 -0
  62. data/{test → spec}/dummy/public/500.html +0 -0
  63. data/{test → spec}/dummy/public/favicon.ico +0 -0
  64. data/spec/rails_helper.rb +54 -0
  65. data/spec/spec_helper.rb +85 -0
  66. metadata +168 -74
  67. data/README.rdoc +0 -60
  68. data/lib/before_actions/command.rb +0 -15
  69. data/test/before_actions_test.rb +0 -7
  70. data/test/dummy/config/initializers/session_store.rb +0 -3
  71. data/test/integration/navigation_test.rb +0 -10
  72. data/test/test_helper.rb +0 -15
@@ -0,0 +1,97 @@
1
+ <% if namespaced? -%>
2
+ require_dependency "<%= namespaced_file_path %>/application_controller"
3
+
4
+ <% end -%>
5
+ <% module_namespacing do -%>
6
+ class <%= controller_class_name %>Controller < ApplicationController
7
+
8
+ # Use callbacks to share common setup or constraints between actions.
9
+ before_actions do
10
+ actions { } # load your nested resource's parent here if you need one
11
+ actions(:index) { @<%= plural_table_name %> = <%= orm_class.all(class_name) %> }
12
+ actions(:new) { @<%= singular_table_name %> = <%= orm_class.build(class_name) %> }
13
+ actions(:create) { @<%= singular_table_name %> = <%= orm_class.build(class_name, "#{singular_table_name}_params") %> }
14
+ actions(:show, :edit, :update, :destroy) { @<%= singular_table_name %> = <%= orm_class.find(class_name, "params[:id]") %> }
15
+ actions { } # run your authorization logic here if you need one
16
+ end
17
+
18
+ # GET <%= route_url %>
19
+ # GET <%= route_url %>.json
20
+ def index
21
+ respond_to do |format|
22
+ format.html # index.html.erb
23
+ format.json { render json: <%= "@#{plural_table_name}" %> }
24
+ end
25
+ end
26
+
27
+
28
+
29
+ # GET <%= route_url %>/new
30
+ def new
31
+ end
32
+
33
+ # GET <%= route_url %>/1
34
+ # GET <%= route_url %>/1.json
35
+ def show
36
+ respond_to do |format|
37
+ format.html # show.html.erb
38
+ format.json { render json: <%= "@#{singular_table_name}" %> }
39
+ end
40
+ end
41
+
42
+ # GET <%= route_url %>/1/edit
43
+ def edit
44
+ end
45
+
46
+
47
+
48
+ # POST <%= route_url %>
49
+ # POST <%= route_url %>.json
50
+ def create
51
+ respond_to do |format|
52
+ if @<%= orm_instance.save %>
53
+ format.html { redirect_to @<%= singular_table_name %>, notice: <%= "'#{human_name} was successfully created.'" %> }
54
+ format.json { render json: <%= "@#{singular_table_name}" %>, status: :created }
55
+ else
56
+ format.html { render action: 'new' }
57
+ format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
58
+ end
59
+ end
60
+ end
61
+
62
+ # PATCH/PUT <%= route_url %>/1
63
+ # PATCH/PUT <%= route_url %>/1.json
64
+ def update
65
+ respond_to do |format|
66
+ if @<%= orm_instance.update("#{singular_table_name}_params") %>
67
+ format.html { redirect_to @<%= singular_table_name %>, notice: <%= "'#{human_name} was successfully updated.'" %> }
68
+ format.json { head :no_content }
69
+ else
70
+ format.html { render action: 'edit' }
71
+ format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
72
+ end
73
+ end
74
+ end
75
+
76
+ # DELETE <%= route_url %>/1
77
+ # DELETE <%= route_url %>/1
78
+ def destroy
79
+ respond_to do |format|
80
+ if @<%= orm_instance.destroy %>
81
+ format.html { redirect_to <%= index_helper %>_url, notice: <%= "'#{human_name} was successfully destroyed.'" %> }
82
+ format.json { head :no_content }
83
+ else
84
+ format.html { render action: 'edit' }
85
+ format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
86
+ end
87
+ end
88
+ end
89
+
90
+ private
91
+
92
+ # Only allow a trusted parameter "white list" through.
93
+ def <%= "#{singular_table_name}_params" %>
94
+ params.require(<%= ":#{singular_table_name}" %>).permit(<%= attributes_names.map { |name| ":#{name}" }.join(', ') %>)
95
+ end
96
+ end
97
+ <% end -%>
@@ -0,0 +1,15 @@
1
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.3ms) 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 CreateFoos (20140912040816)
6
+  (0.1ms) begin transaction
7
+  (0.6ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140912040816"]]
9
+  (1.0ms) commit transaction
10
+ Migrating to CreateAdminFoos (20140912042735)
11
+  (0.1ms) begin transaction
12
+  (0.5ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140912042735"]]
14
+  (0.9ms) commit transaction
15
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,1590 @@
1
+  (1.5ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
2
+  (1.1ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
3
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
4
+  (0.1ms) select sqlite_version(*)
5
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
+  (0.1ms) SELECT version FROM "schema_migrations"
7
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
8
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (0.1ms) begin transaction
11
+  (0.1ms) SAVEPOINT active_record_1
12
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.526632"], ["updated_at", "2014-09-12 05:07:40.526632"]]
13
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14
+ Processing by AdminFoosController#index as HTML
15
+ Rendered admin_foos/index.html.erb within layouts/application (0.8ms)
16
+ Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
17
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos"
18
+  (0.5ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+  (0.1ms) SAVEPOINT active_record_1
21
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.557775"], ["updated_at", "2014-09-12 05:07:40.557775"]]
22
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23
+ Processing by AdminFoosController#show as HTML
24
+ Parameters: {"id"=>"1"}
25
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
26
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
27
+  (0.4ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+ Processing by AdminFoosController#new as HTML
30
+ Completed 500 Internal Server Error in 2ms
31
+  (0.1ms) rollback transaction
32
+  (0.1ms) begin transaction
33
+  (0.1ms) SAVEPOINT active_record_1
34
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.573206"], ["updated_at", "2014-09-12 05:07:40.573206"]]
35
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36
+ Processing by AdminFoosController#edit as HTML
37
+ Parameters: {"id"=>"1"}
38
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
39
+ Filter chain halted as :execute_before_actions rendered or redirected
40
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
41
+  (0.4ms) rollback transaction
42
+  (0.1ms) begin transaction
43
+ Processing by AdminFoosController#create as HTML
44
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
45
+ Completed 500 Internal Server Error in 1ms
46
+  (0.1ms) rollback transaction
47
+  (0.1ms) begin transaction
48
+  (0.2ms) SAVEPOINT active_record_1
49
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.589945"], ["updated_at", "2014-09-12 05:07:40.589945"]]
50
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51
+ Processing by AdminFoosController#update as HTML
52
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
53
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
54
+ Filter chain halted as :execute_before_actions rendered or redirected
55
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
56
+  (0.4ms) rollback transaction
57
+  (0.1ms) begin transaction
58
+  (0.1ms) SAVEPOINT active_record_1
59
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.598101"], ["updated_at", "2014-09-12 05:07:40.598101"]]
60
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61
+ Processing by AdminFoosController#destroy as HTML
62
+ Parameters: {"id"=>"1"}
63
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
64
+ Filter chain halted as :execute_before_actions rendered or redirected
65
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
66
+  (0.5ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+  (0.2ms) SAVEPOINT active_record_1
69
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.615996"], ["updated_at", "2014-09-12 05:07:40.615996"]]
70
+  (0.1ms) RELEASE SAVEPOINT active_record_1
71
+ Processing by FoosController#index as HTML
72
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
73
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos"
74
+  (2.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+  (0.1ms) SAVEPOINT active_record_1
77
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.636219"], ["updated_at", "2014-09-12 05:07:40.636219"]]
78
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79
+ Processing by FoosController#show as HTML
80
+ Parameters: {"id"=>"1"}
81
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
82
+ Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.2ms)
83
+  (0.4ms) rollback transaction
84
+  (0.1ms) begin transaction
85
+ Processing by FoosController#new as HTML
86
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
87
+  (0.1ms) rollback transaction
88
+  (0.1ms) begin transaction
89
+  (0.1ms) SAVEPOINT active_record_1
90
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.658599"], ["updated_at", "2014-09-12 05:07:40.658599"]]
91
+  (0.1ms) RELEASE SAVEPOINT active_record_1
92
+ Processing by FoosController#edit as HTML
93
+ Parameters: {"id"=>"1"}
94
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
95
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
96
+  (0.4ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+  (0.2ms) SELECT COUNT(*) FROM "foos"
99
+ Processing by FoosController#create as HTML
100
+ Parameters: {"foo"=>{"bar"=>"cool"}}
101
+  (0.1ms) SAVEPOINT active_record_1
102
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.676475"], ["updated_at", "2014-09-12 05:07:40.676475"]]
103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104
+ Redirected to http://test.host/foos/1
105
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
106
+  (0.1ms) SELECT COUNT(*) FROM "foos"
107
+  (0.4ms) rollback transaction
108
+  (0.2ms) begin transaction
109
+ Processing by FoosController#create as HTML
110
+ Parameters: {"foo"=>{"bar"=>"cool"}}
111
+  (0.1ms) SAVEPOINT active_record_1
112
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.696068"], ["updated_at", "2014-09-12 05:07:40.696068"]]
113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
114
+ Redirected to http://test.host/foos/1
115
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
116
+  (1.5ms) rollback transaction
117
+  (0.1ms) begin transaction
118
+ Processing by FoosController#create as HTML
119
+ Parameters: {"foo"=>{"bar"=>"cool"}}
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.708131"], ["updated_at", "2014-09-12 05:07:40.708131"]]
122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
123
+ Redirected to http://test.host/foos/1
124
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
125
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
126
+  (0.5ms) rollback transaction
127
+  (0.1ms) begin transaction
128
+ Processing by FoosController#create as HTML
129
+ Parameters: {"foo"=>{"bar"=>""}}
130
+  (0.1ms) SAVEPOINT active_record_1
131
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
132
+ Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.2ms)
133
+  (0.1ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+ Processing by FoosController#create as HTML
136
+ Parameters: {"foo"=>{"bar"=>""}}
137
+  (0.4ms) SAVEPOINT active_record_1
138
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
139
+ Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.5ms)
140
+  (0.1ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+  (0.1ms) SAVEPOINT active_record_1
143
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.751964"], ["updated_at", "2014-09-12 05:07:40.751964"]]
144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145
+ Processing by FoosController#update as HTML
146
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
147
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
148
+  (0.1ms) SAVEPOINT active_record_1
149
+ SQL (1.1ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:07:40.759367"]]
150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151
+ Redirected to http://test.host/foos/1
152
+ Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
153
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
154
+  (0.5ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+  (0.1ms) SAVEPOINT active_record_1
157
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.767182"], ["updated_at", "2014-09-12 05:07:40.767182"]]
158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159
+ Processing by FoosController#update as HTML
160
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
161
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
162
+  (0.1ms) SAVEPOINT active_record_1
163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
164
+ Redirected to http://test.host/foos/1
165
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
166
+  (1.3ms) rollback transaction
167
+  (0.1ms) begin transaction
168
+  (0.1ms) SAVEPOINT active_record_1
169
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.776382"], ["updated_at", "2014-09-12 05:07:40.776382"]]
170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
171
+ Processing by FoosController#update as HTML
172
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
173
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
174
+  (0.1ms) SAVEPOINT active_record_1
175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
176
+ Redirected to http://test.host/foos/1
177
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
178
+  (0.5ms) rollback transaction
179
+  (0.1ms) begin transaction
180
+  (0.1ms) SAVEPOINT active_record_1
181
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.786306"], ["updated_at", "2014-09-12 05:07:40.786306"]]
182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
183
+ Processing by FoosController#update as HTML
184
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
185
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
186
+  (0.2ms) SAVEPOINT active_record_1
187
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
188
+ Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.4ms)
189
+  (0.6ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+  (0.1ms) SAVEPOINT active_record_1
192
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.797903"], ["updated_at", "2014-09-12 05:07:40.797903"]]
193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
194
+ Processing by FoosController#update as HTML
195
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
196
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
197
+  (0.1ms) SAVEPOINT active_record_1
198
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
199
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)
200
+  (0.5ms) rollback transaction
201
+  (0.5ms) begin transaction
202
+  (0.1ms) SAVEPOINT active_record_1
203
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.811340"], ["updated_at", "2014-09-12 05:07:40.811340"]]
204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
205
+  (0.1ms) SELECT COUNT(*) FROM "foos"
206
+ Processing by FoosController#destroy as HTML
207
+ Parameters: {"id"=>"1"}
208
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
209
+  (0.1ms) SAVEPOINT active_record_1
210
+ SQL (0.6ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
212
+ Redirected to http://test.host/foos
213
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
214
+  (0.1ms) SELECT COUNT(*) FROM "foos"
215
+  (0.3ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+  (0.1ms) SAVEPOINT active_record_1
218
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.821133"], ["updated_at", "2014-09-12 05:07:40.821133"]]
219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
220
+ Processing by FoosController#destroy as HTML
221
+ Parameters: {"id"=>"1"}
222
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
223
+  (0.1ms) SAVEPOINT active_record_1
224
+ SQL (0.8ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
226
+ Redirected to http://test.host/foos
227
+ Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
228
+  (0.3ms) rollback transaction
229
+  (1.2ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
230
+  (1.1ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
231
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
232
+  (0.1ms) select sqlite_version(*)
233
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
234
+  (0.1ms) SELECT version FROM "schema_migrations"
235
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
236
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
237
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
238
+  (0.1ms) begin transaction
239
+  (0.1ms) SAVEPOINT active_record_1
240
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.065513"], ["updated_at", "2014-09-12 05:11:51.065513"]]
241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
242
+ Processing by AdminFoosController#index as HTML
243
+ Rendered admin_foos/index.html.erb within layouts/application (0.8ms)
244
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
245
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos"
246
+  (0.4ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+  (0.0ms) SAVEPOINT active_record_1
249
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.091393"], ["updated_at", "2014-09-12 05:11:51.091393"]]
250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
251
+ Processing by AdminFoosController#show as HTML
252
+ Parameters: {"id"=>"1"}
253
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
254
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
255
+  (0.4ms) rollback transaction
256
+  (0.1ms) begin transaction
257
+ Processing by AdminFoosController#new as HTML
258
+ Filter chain halted as #<Proc:0x007fbcc4336750@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
259
+ Completed 401 Unauthorized in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+  (0.1ms) SAVEPOINT active_record_1
263
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.109654"], ["updated_at", "2014-09-12 05:11:51.109654"]]
264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
265
+ Processing by AdminFoosController#edit as HTML
266
+ Parameters: {"id"=>"1"}
267
+ Filter chain halted as #<Proc:0x007fbcc4336750@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
268
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
269
+  (0.5ms) rollback transaction
270
+  (0.1ms) begin transaction
271
+ Processing by AdminFoosController#create as HTML
272
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
273
+ Filter chain halted as #<Proc:0x007fbcc4336750@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
274
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
275
+  (0.1ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+  (0.1ms) SAVEPOINT active_record_1
278
+ SQL (0.2ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.120392"], ["updated_at", "2014-09-12 05:11:51.120392"]]
279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
280
+ Processing by AdminFoosController#update as HTML
281
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
282
+ Filter chain halted as #<Proc:0x007fbcc4336750@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
283
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
284
+  (0.5ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+  (0.1ms) SAVEPOINT active_record_1
287
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.127745"], ["updated_at", "2014-09-12 05:11:51.127745"]]
288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
289
+ Processing by AdminFoosController#destroy as HTML
290
+ Parameters: {"id"=>"1"}
291
+ Filter chain halted as #<Proc:0x007fbcc4336750@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
292
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
293
+  (0.5ms) rollback transaction
294
+  (0.1ms) begin transaction
295
+  (0.1ms) SAVEPOINT active_record_1
296
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.140714"], ["updated_at", "2014-09-12 05:11:51.140714"]]
297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
298
+ Processing by FoosController#index as HTML
299
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
300
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos"
301
+  (0.4ms) rollback transaction
302
+  (0.1ms) begin transaction
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.151030"], ["updated_at", "2014-09-12 05:11:51.151030"]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+ Processing by FoosController#show as HTML
307
+ Parameters: {"id"=>"1"}
308
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
309
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
310
+  (0.4ms) rollback transaction
311
+  (0.1ms) begin transaction
312
+ Processing by FoosController#new as HTML
313
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
314
+  (0.1ms) rollback transaction
315
+  (0.1ms) begin transaction
316
+  (0.1ms) SAVEPOINT active_record_1
317
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.167160"], ["updated_at", "2014-09-12 05:11:51.167160"]]
318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
319
+ Processing by FoosController#edit as HTML
320
+ Parameters: {"id"=>"1"}
321
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
322
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
323
+  (0.5ms) rollback transaction
324
+  (0.1ms) begin transaction
325
+  (0.2ms) SELECT COUNT(*) FROM "foos"
326
+ Processing by FoosController#create as HTML
327
+ Parameters: {"foo"=>{"bar"=>"cool"}}
328
+  (0.1ms) SAVEPOINT active_record_1
329
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.182101"], ["updated_at", "2014-09-12 05:11:51.182101"]]
330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
331
+ Redirected to http://test.host/foos/1
332
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
333
+  (0.1ms) SELECT COUNT(*) FROM "foos"
334
+  (0.5ms) rollback transaction
335
+  (0.1ms) begin transaction
336
+ Processing by FoosController#create as HTML
337
+ Parameters: {"foo"=>{"bar"=>"cool"}}
338
+  (0.1ms) SAVEPOINT active_record_1
339
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.198851"], ["updated_at", "2014-09-12 05:11:51.198851"]]
340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
341
+ Redirected to http://test.host/foos/1
342
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
343
+  (0.5ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+ Processing by FoosController#create as HTML
346
+ Parameters: {"foo"=>{"bar"=>"cool"}}
347
+  (0.1ms) SAVEPOINT active_record_1
348
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.207730"], ["updated_at", "2014-09-12 05:11:51.207730"]]
349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350
+ Redirected to http://test.host/foos/1
351
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
352
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
353
+  (0.5ms) rollback transaction
354
+  (0.1ms) begin transaction
355
+ Processing by FoosController#create as HTML
356
+ Parameters: {"foo"=>{"bar"=>""}}
357
+  (0.1ms) SAVEPOINT active_record_1
358
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
359
+ Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.2ms)
360
+  (0.1ms) rollback transaction
361
+  (0.1ms) begin transaction
362
+ Processing by FoosController#create as HTML
363
+ Parameters: {"foo"=>{"bar"=>""}}
364
+  (0.1ms) SAVEPOINT active_record_1
365
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
366
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms)
367
+  (0.1ms) rollback transaction
368
+  (0.1ms) begin transaction
369
+  (0.1ms) SAVEPOINT active_record_1
370
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.238910"], ["updated_at", "2014-09-12 05:11:51.238910"]]
371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
372
+ Processing by FoosController#update as HTML
373
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
374
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
375
+  (0.0ms) SAVEPOINT active_record_1
376
+ SQL (1.0ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:11:51.242738"]]
377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
378
+ Redirected to http://test.host/foos/1
379
+ Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
380
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
381
+  (0.5ms) rollback transaction
382
+  (0.1ms) begin transaction
383
+  (0.1ms) SAVEPOINT active_record_1
384
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.249456"], ["updated_at", "2014-09-12 05:11:51.249456"]]
385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
386
+ Processing by FoosController#update as HTML
387
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
388
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
389
+  (0.1ms) SAVEPOINT active_record_1
390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
391
+ Redirected to http://test.host/foos/1
392
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
393
+  (0.5ms) rollback transaction
394
+  (0.1ms) begin transaction
395
+  (0.0ms) SAVEPOINT active_record_1
396
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.256936"], ["updated_at", "2014-09-12 05:11:51.256936"]]
397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
398
+ Processing by FoosController#update as HTML
399
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
400
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
401
+  (0.0ms) SAVEPOINT active_record_1
402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
403
+ Redirected to http://test.host/foos/1
404
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
405
+  (0.4ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+  (0.1ms) SAVEPOINT active_record_1
408
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.263345"], ["updated_at", "2014-09-12 05:11:51.263345"]]
409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
410
+ Processing by FoosController#update as HTML
411
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
412
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
413
+  (0.1ms) SAVEPOINT active_record_1
414
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
415
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
416
+  (0.5ms) rollback transaction
417
+  (0.0ms) begin transaction
418
+  (0.0ms) SAVEPOINT active_record_1
419
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.271214"], ["updated_at", "2014-09-12 05:11:51.271214"]]
420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
421
+ Processing by FoosController#update as HTML
422
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
423
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
424
+  (0.0ms) SAVEPOINT active_record_1
425
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
426
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
427
+  (0.5ms) rollback transaction
428
+  (0.1ms) begin transaction
429
+  (0.0ms) SAVEPOINT active_record_1
430
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.278467"], ["updated_at", "2014-09-12 05:11:51.278467"]]
431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
432
+  (0.1ms) SELECT COUNT(*) FROM "foos"
433
+ Processing by FoosController#destroy as HTML
434
+ Parameters: {"id"=>"1"}
435
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
436
+  (0.1ms) SAVEPOINT active_record_1
437
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
439
+ Redirected to http://test.host/foos
440
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
441
+  (0.1ms) SELECT COUNT(*) FROM "foos"
442
+  (0.5ms) rollback transaction
443
+  (0.1ms) begin transaction
444
+  (0.1ms) SAVEPOINT active_record_1
445
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.286592"], ["updated_at", "2014-09-12 05:11:51.286592"]]
446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
447
+ Processing by FoosController#destroy as HTML
448
+ Parameters: {"id"=>"1"}
449
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
450
+  (0.1ms) SAVEPOINT active_record_1
451
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
453
+ Redirected to http://test.host/foos
454
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
455
+  (0.5ms) rollback transaction
456
+  (1.6ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
457
+  (1.3ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
458
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
459
+  (0.1ms) select sqlite_version(*)
460
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
461
+  (0.1ms) SELECT version FROM "schema_migrations"
462
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
463
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
464
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
465
+  (0.1ms) begin transaction
466
+  (0.1ms) SAVEPOINT active_record_1
467
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.615783"], ["updated_at", "2014-09-12 05:12:34.615783"]]
468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
469
+ Processing by AdminFoosController#index as HTML
470
+ Rendered admin_foos/index.html.erb within layouts/application (0.4ms)
471
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
472
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos"
473
+  (0.5ms) rollback transaction
474
+  (0.1ms) begin transaction
475
+  (0.1ms) SAVEPOINT active_record_1
476
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.644185"], ["updated_at", "2014-09-12 05:12:34.644185"]]
477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
478
+ Processing by AdminFoosController#show as HTML
479
+ Parameters: {"id"=>"1"}
480
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
481
+ Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
482
+  (0.5ms) rollback transaction
483
+  (0.1ms) begin transaction
484
+ Processing by AdminFoosController#new as HTML
485
+ Filter chain halted as #<Proc:0x007fcc4f8224e0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
486
+ Completed 401 Unauthorized in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
487
+  (0.1ms) rollback transaction
488
+  (0.1ms) begin transaction
489
+  (0.1ms) SAVEPOINT active_record_1
490
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.662183"], ["updated_at", "2014-09-12 05:12:34.662183"]]
491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
492
+ Processing by AdminFoosController#edit as HTML
493
+ Parameters: {"id"=>"1"}
494
+ Filter chain halted as #<Proc:0x007fcc4f8224e0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
495
+ Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
496
+  (0.5ms) rollback transaction
497
+  (0.1ms) begin transaction
498
+ Processing by AdminFoosController#create as HTML
499
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
500
+ Filter chain halted as #<Proc:0x007fcc4f8224e0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
501
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
502
+  (0.1ms) rollback transaction
503
+  (0.1ms) begin transaction
504
+  (0.1ms) SAVEPOINT active_record_1
505
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.675955"], ["updated_at", "2014-09-12 05:12:34.675955"]]
506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
507
+ Processing by AdminFoosController#update as HTML
508
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
509
+ Filter chain halted as #<Proc:0x007fcc4f8224e0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
510
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
511
+  (0.5ms) rollback transaction
512
+  (0.1ms) begin transaction
513
+  (0.1ms) SAVEPOINT active_record_1
514
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.683268"], ["updated_at", "2014-09-12 05:12:34.683268"]]
515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
516
+ Processing by AdminFoosController#destroy as HTML
517
+ Parameters: {"id"=>"1"}
518
+ Filter chain halted as #<Proc:0x007fcc4f8224e0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
519
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
520
+  (0.4ms) rollback transaction
521
+  (0.0ms) begin transaction
522
+  (0.1ms) SAVEPOINT active_record_1
523
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.696026"], ["updated_at", "2014-09-12 05:12:34.696026"]]
524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
525
+ Processing by FoosController#index as HTML
526
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
527
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos"
528
+  (0.4ms) rollback transaction
529
+  (0.1ms) begin transaction
530
+  (0.1ms) SAVEPOINT active_record_1
531
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.707537"], ["updated_at", "2014-09-12 05:12:34.707537"]]
532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
533
+ Processing by FoosController#show as HTML
534
+ Parameters: {"id"=>"1"}
535
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
536
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
537
+  (0.6ms) rollback transaction
538
+  (0.1ms) begin transaction
539
+ Processing by FoosController#new as HTML
540
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
541
+  (0.1ms) rollback transaction
542
+  (0.1ms) begin transaction
543
+  (0.1ms) SAVEPOINT active_record_1
544
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.725359"], ["updated_at", "2014-09-12 05:12:34.725359"]]
545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
546
+ Processing by FoosController#edit as HTML
547
+ Parameters: {"id"=>"1"}
548
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
549
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
550
+  (0.6ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+  (0.2ms) SELECT COUNT(*) FROM "foos"
553
+ Processing by FoosController#create as HTML
554
+ Parameters: {"foo"=>{"bar"=>"cool"}}
555
+  (0.1ms) SAVEPOINT active_record_1
556
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.744490"], ["updated_at", "2014-09-12 05:12:34.744490"]]
557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
558
+ Redirected to http://test.host/foos/1
559
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
560
+  (0.1ms) SELECT COUNT(*) FROM "foos"
561
+  (0.5ms) rollback transaction
562
+  (0.1ms) begin transaction
563
+ Processing by FoosController#create as HTML
564
+ Parameters: {"foo"=>{"bar"=>"cool"}}
565
+  (0.1ms) SAVEPOINT active_record_1
566
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.763231"], ["updated_at", "2014-09-12 05:12:34.763231"]]
567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
568
+ Redirected to http://test.host/foos/1
569
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
570
+  (0.4ms) rollback transaction
571
+  (0.1ms) begin transaction
572
+ Processing by FoosController#create as HTML
573
+ Parameters: {"foo"=>{"bar"=>"cool"}}
574
+  (0.1ms) SAVEPOINT active_record_1
575
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.772670"], ["updated_at", "2014-09-12 05:12:34.772670"]]
576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
577
+ Redirected to http://test.host/foos/1
578
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
579
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
580
+  (0.5ms) rollback transaction
581
+  (0.1ms) begin transaction
582
+ Processing by FoosController#create as HTML
583
+ Parameters: {"foo"=>{"bar"=>""}}
584
+  (0.1ms) SAVEPOINT active_record_1
585
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
586
+ Completed 200 OK in 11ms (Views: 1.5ms | ActiveRecord: 0.1ms)
587
+  (0.1ms) rollback transaction
588
+  (0.1ms) begin transaction
589
+ Processing by FoosController#create as HTML
590
+ Parameters: {"foo"=>{"bar"=>""}}
591
+  (0.1ms) SAVEPOINT active_record_1
592
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
593
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
594
+  (0.1ms) rollback transaction
595
+  (0.2ms) begin transaction
596
+  (0.1ms) SAVEPOINT active_record_1
597
+ SQL (0.6ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.800549"], ["updated_at", "2014-09-12 05:12:34.800549"]]
598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
599
+ Processing by FoosController#update as HTML
600
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
601
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
602
+  (0.1ms) SAVEPOINT active_record_1
603
+ SQL (1.8ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:12:34.806181"]]
604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
605
+ Redirected to http://test.host/foos/1
606
+ Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
607
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
608
+  (0.5ms) rollback transaction
609
+  (0.1ms) begin transaction
610
+  (0.1ms) SAVEPOINT active_record_1
611
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.815273"], ["updated_at", "2014-09-12 05:12:34.815273"]]
612
+  (0.1ms) RELEASE SAVEPOINT active_record_1
613
+ Processing by FoosController#update as HTML
614
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
615
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
616
+  (0.1ms) SAVEPOINT active_record_1
617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
618
+ Redirected to http://test.host/foos/1
619
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
620
+  (0.5ms) rollback transaction
621
+  (0.1ms) begin transaction
622
+  (0.0ms) SAVEPOINT active_record_1
623
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.823901"], ["updated_at", "2014-09-12 05:12:34.823901"]]
624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
625
+ Processing by FoosController#update as HTML
626
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
627
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
628
+  (0.0ms) SAVEPOINT active_record_1
629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
630
+ Redirected to http://test.host/foos/1
631
+ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
632
+  (0.5ms) rollback transaction
633
+  (0.0ms) begin transaction
634
+  (0.0ms) SAVEPOINT active_record_1
635
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.830146"], ["updated_at", "2014-09-12 05:12:34.830146"]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+ Processing by FoosController#update as HTML
638
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
639
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
640
+  (0.1ms) SAVEPOINT active_record_1
641
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
642
+ Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
643
+  (0.5ms) rollback transaction
644
+  (0.1ms) begin transaction
645
+  (0.1ms) SAVEPOINT active_record_1
646
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.840866"], ["updated_at", "2014-09-12 05:12:34.840866"]]
647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
648
+ Processing by FoosController#update as HTML
649
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
650
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
651
+  (0.1ms) SAVEPOINT active_record_1
652
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
653
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
654
+  (0.4ms) rollback transaction
655
+  (0.1ms) begin transaction
656
+  (0.1ms) SAVEPOINT active_record_1
657
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.850033"], ["updated_at", "2014-09-12 05:12:34.850033"]]
658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
659
+  (0.1ms) SELECT COUNT(*) FROM "foos"
660
+ Processing by FoosController#destroy as HTML
661
+ Parameters: {"id"=>"1"}
662
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
663
+  (0.1ms) SAVEPOINT active_record_1
664
+ SQL (0.6ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
666
+ Redirected to http://test.host/foos
667
+ Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
668
+  (0.1ms) SELECT COUNT(*) FROM "foos"
669
+  (0.4ms) rollback transaction
670
+  (0.1ms) begin transaction
671
+  (0.1ms) SAVEPOINT active_record_1
672
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.859951"], ["updated_at", "2014-09-12 05:12:34.859951"]]
673
+  (0.4ms) RELEASE SAVEPOINT active_record_1
674
+ Processing by FoosController#destroy as HTML
675
+ Parameters: {"id"=>"1"}
676
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
677
+  (0.1ms) SAVEPOINT active_record_1
678
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
680
+ Redirected to http://test.host/foos
681
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
682
+  (1.0ms) rollback transaction
683
+  (1.4ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
684
+  (1.4ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
685
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
686
+  (0.1ms) select sqlite_version(*)
687
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
688
+  (0.2ms) SELECT version FROM "schema_migrations"
689
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
690
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
691
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
692
+  (0.1ms) begin transaction
693
+  (0.1ms) SAVEPOINT active_record_1
694
+ SQL (0.6ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.150822"], ["updated_at", "2014-09-12 05:13:55.150822"]]
695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
696
+ Processing by AdminFoosController#index as HTML
697
+ Rendered admin_foos/index.html.erb within layouts/application (1.0ms)
698
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
699
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos"
700
+  (0.7ms) rollback transaction
701
+  (0.4ms) begin transaction
702
+  (0.1ms) SAVEPOINT active_record_1
703
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.182735"], ["updated_at", "2014-09-12 05:13:55.182735"]]
704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
705
+ Processing by AdminFoosController#show as HTML
706
+ Parameters: {"id"=>"1"}
707
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
708
+ Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms)
709
+  (0.5ms) rollback transaction
710
+  (0.1ms) begin transaction
711
+ Processing by AdminFoosController#new as HTML
712
+ Filter chain halted as #<Proc:0x007fee999bd4f0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
713
+ Completed 401 Unauthorized in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
714
+  (0.1ms) rollback transaction
715
+  (0.1ms) begin transaction
716
+  (0.1ms) SAVEPOINT active_record_1
717
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.200245"], ["updated_at", "2014-09-12 05:13:55.200245"]]
718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
719
+ Processing by AdminFoosController#edit as HTML
720
+ Parameters: {"id"=>"1"}
721
+ Filter chain halted as #<Proc:0x007fee999bd4f0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
722
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
723
+  (0.5ms) rollback transaction
724
+  (0.0ms) begin transaction
725
+ Processing by AdminFoosController#create as HTML
726
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
727
+ Filter chain halted as #<Proc:0x007fee999bd4f0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
728
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
729
+  (0.1ms) rollback transaction
730
+  (0.0ms) begin transaction
731
+  (0.0ms) SAVEPOINT active_record_1
732
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.208869"], ["updated_at", "2014-09-12 05:13:55.208869"]]
733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
734
+ Processing by AdminFoosController#update as HTML
735
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
736
+ Filter chain halted as #<Proc:0x007fee999bd4f0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
737
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
738
+  (0.4ms) rollback transaction
739
+  (0.1ms) begin transaction
740
+  (0.1ms) SAVEPOINT active_record_1
741
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.214297"], ["updated_at", "2014-09-12 05:13:55.214297"]]
742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
743
+ Processing by AdminFoosController#destroy as HTML
744
+ Parameters: {"id"=>"1"}
745
+ Filter chain halted as #<Proc:0x007fee999bd4f0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
746
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
747
+  (0.5ms) rollback transaction
748
+  (0.1ms) begin transaction
749
+  (0.1ms) SAVEPOINT active_record_1
750
+ SQL (0.6ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.225127"], ["updated_at", "2014-09-12 05:13:55.225127"]]
751
+  (0.1ms) RELEASE SAVEPOINT active_record_1
752
+ Processing by FoosController#index as HTML
753
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
754
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos"
755
+  (0.7ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+  (0.1ms) SAVEPOINT active_record_1
758
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.239962"], ["updated_at", "2014-09-12 05:13:55.239962"]]
759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
760
+ Processing by FoosController#show as HTML
761
+ Parameters: {"id"=>"1"}
762
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
763
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
764
+  (0.6ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+ Processing by FoosController#new as HTML
767
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
768
+  (0.1ms) rollback transaction
769
+  (0.1ms) begin transaction
770
+  (0.1ms) SAVEPOINT active_record_1
771
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.257727"], ["updated_at", "2014-09-12 05:13:55.257727"]]
772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
773
+ Processing by FoosController#edit as HTML
774
+ Parameters: {"id"=>"1"}
775
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
776
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
777
+  (0.5ms) rollback transaction
778
+  (0.1ms) begin transaction
779
+  (0.2ms) SELECT COUNT(*) FROM "foos"
780
+ Processing by FoosController#create as HTML
781
+ Parameters: {"foo"=>{"bar"=>"cool"}}
782
+  (0.1ms) SAVEPOINT active_record_1
783
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.273177"], ["updated_at", "2014-09-12 05:13:55.273177"]]
784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
785
+ Redirected to http://test.host/foos/1
786
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
787
+  (0.1ms) SELECT COUNT(*) FROM "foos"
788
+  (0.5ms) rollback transaction
789
+  (0.1ms) begin transaction
790
+ Processing by FoosController#create as HTML
791
+ Parameters: {"foo"=>{"bar"=>"cool"}}
792
+  (0.1ms) SAVEPOINT active_record_1
793
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.291204"], ["updated_at", "2014-09-12 05:13:55.291204"]]
794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
795
+ Redirected to http://test.host/foos/1
796
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
797
+  (0.6ms) rollback transaction
798
+  (0.1ms) begin transaction
799
+ Processing by FoosController#create as HTML
800
+ Parameters: {"foo"=>{"bar"=>"cool"}}
801
+  (0.1ms) SAVEPOINT active_record_1
802
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.300826"], ["updated_at", "2014-09-12 05:13:55.300826"]]
803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
804
+ Redirected to http://test.host/foos/1
805
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
806
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
807
+  (0.6ms) rollback transaction
808
+  (0.1ms) begin transaction
809
+ Processing by FoosController#create as HTML
810
+ Parameters: {"foo"=>{"bar"=>""}}
811
+  (0.1ms) SAVEPOINT active_record_1
812
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
813
+ Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.1ms)
814
+  (0.1ms) rollback transaction
815
+  (0.1ms) begin transaction
816
+ Processing by FoosController#create as HTML
817
+ Parameters: {"foo"=>{"bar"=>""}}
818
+  (0.1ms) SAVEPOINT active_record_1
819
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
820
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
821
+  (0.1ms) rollback transaction
822
+  (0.0ms) begin transaction
823
+  (0.0ms) SAVEPOINT active_record_1
824
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.327434"], ["updated_at", "2014-09-12 05:13:55.327434"]]
825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
826
+ Processing by FoosController#update as HTML
827
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
828
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
829
+  (0.1ms) SAVEPOINT active_record_1
830
+ SQL (1.8ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:13:55.332876"]]
831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
832
+ Redirected to http://test.host/foos/1
833
+ Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
834
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
835
+  (0.5ms) rollback transaction
836
+  (0.1ms) begin transaction
837
+  (0.0ms) SAVEPOINT active_record_1
838
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.340075"], ["updated_at", "2014-09-12 05:13:55.340075"]]
839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
840
+ Processing by FoosController#update as HTML
841
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
842
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
843
+  (0.0ms) SAVEPOINT active_record_1
844
+  (0.2ms) RELEASE SAVEPOINT active_record_1
845
+ Redirected to http://test.host/foos/1
846
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
847
+  (0.6ms) rollback transaction
848
+  (0.1ms) begin transaction
849
+  (0.1ms) SAVEPOINT active_record_1
850
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.347504"], ["updated_at", "2014-09-12 05:13:55.347504"]]
851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
852
+ Processing by FoosController#update as HTML
853
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
854
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
855
+  (0.1ms) SAVEPOINT active_record_1
856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
857
+ Redirected to http://test.host/foos/1
858
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
859
+  (0.6ms) rollback transaction
860
+  (0.1ms) begin transaction
861
+  (0.1ms) SAVEPOINT active_record_1
862
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.356226"], ["updated_at", "2014-09-12 05:13:55.356226"]]
863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
864
+ Processing by FoosController#update as HTML
865
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
866
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
867
+  (0.0ms) SAVEPOINT active_record_1
868
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
869
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
870
+  (0.5ms) rollback transaction
871
+  (0.1ms) begin transaction
872
+  (0.0ms) SAVEPOINT active_record_1
873
+ SQL (0.7ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.363968"], ["updated_at", "2014-09-12 05:13:55.363968"]]
874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
875
+ Processing by FoosController#update as HTML
876
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
877
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
878
+  (0.1ms) SAVEPOINT active_record_1
879
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
880
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
881
+  (0.6ms) rollback transaction
882
+  (0.1ms) begin transaction
883
+  (0.1ms) SAVEPOINT active_record_1
884
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.373992"], ["updated_at", "2014-09-12 05:13:55.373992"]]
885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
886
+  (0.1ms) SELECT COUNT(*) FROM "foos"
887
+ Processing by FoosController#destroy as HTML
888
+ Parameters: {"id"=>"1"}
889
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
890
+  (0.1ms) SAVEPOINT active_record_1
891
+ SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
893
+ Redirected to http://test.host/foos
894
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
895
+  (0.1ms) SELECT COUNT(*) FROM "foos"
896
+  (0.5ms) rollback transaction
897
+  (0.1ms) begin transaction
898
+  (0.1ms) SAVEPOINT active_record_1
899
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.382466"], ["updated_at", "2014-09-12 05:13:55.382466"]]
900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
901
+ Processing by FoosController#destroy as HTML
902
+ Parameters: {"id"=>"1"}
903
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
904
+  (0.1ms) SAVEPOINT active_record_1
905
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
907
+ Redirected to http://test.host/foos
908
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
909
+  (0.6ms) rollback transaction
910
+  (1.3ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
911
+  (0.9ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
912
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
913
+  (0.1ms) select sqlite_version(*)
914
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
915
+  (0.2ms) SELECT version FROM "schema_migrations"
916
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
917
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
918
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
919
+  (0.2ms) begin transaction
920
+  (0.1ms) SAVEPOINT active_record_1
921
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.337277"], ["updated_at", "2014-09-12 05:14:53.337277"]]
922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
923
+ Processing by AdminFoosController#index as HTML
924
+ Rendered admin_foos/index.html.erb within layouts/application (0.4ms)
925
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
926
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos"
927
+  (0.5ms) rollback transaction
928
+  (0.1ms) begin transaction
929
+  (0.1ms) SAVEPOINT active_record_1
930
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.362806"], ["updated_at", "2014-09-12 05:14:53.362806"]]
931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
932
+ Processing by AdminFoosController#show as HTML
933
+ Parameters: {"id"=>"1"}
934
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
935
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.2ms)
936
+  (0.6ms) rollback transaction
937
+  (0.1ms) begin transaction
938
+ Processing by AdminFoosController#new as HTML
939
+ Filter chain halted as #<Proc:0x007ff5e6068f18@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
940
+ Completed 401 Unauthorized in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
941
+  (0.1ms) rollback transaction
942
+  (0.1ms) begin transaction
943
+  (0.1ms) SAVEPOINT active_record_1
944
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.379470"], ["updated_at", "2014-09-12 05:14:53.379470"]]
945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
946
+ Processing by AdminFoosController#edit as HTML
947
+ Parameters: {"id"=>"1"}
948
+ Filter chain halted as #<Proc:0x007ff5e6068f18@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
949
+ Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
950
+  (0.4ms) rollback transaction
951
+  (0.1ms) begin transaction
952
+ Processing by AdminFoosController#create as HTML
953
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
954
+ Filter chain halted as #<Proc:0x007ff5e6068f18@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
955
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
956
+  (0.1ms) rollback transaction
957
+  (0.1ms) begin transaction
958
+  (0.0ms) SAVEPOINT active_record_1
959
+ SQL (0.2ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.388799"], ["updated_at", "2014-09-12 05:14:53.388799"]]
960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
961
+ Processing by AdminFoosController#update as HTML
962
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
963
+ Filter chain halted as #<Proc:0x007ff5e6068f18@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
964
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
965
+  (0.5ms) rollback transaction
966
+  (0.1ms) begin transaction
967
+  (0.1ms) SAVEPOINT active_record_1
968
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.394360"], ["updated_at", "2014-09-12 05:14:53.394360"]]
969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
970
+ Processing by AdminFoosController#destroy as HTML
971
+ Parameters: {"id"=>"1"}
972
+ Filter chain halted as #<Proc:0x007ff5e6068f18@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
973
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
974
+  (0.5ms) rollback transaction
975
+  (0.1ms) begin transaction
976
+  (0.1ms) SAVEPOINT active_record_1
977
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.407661"], ["updated_at", "2014-09-12 05:14:53.407661"]]
978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
979
+ Processing by FoosController#index as HTML
980
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
981
+ Foo Load (0.3ms) SELECT "foos".* FROM "foos"
982
+  (0.6ms) rollback transaction
983
+  (0.1ms) begin transaction
984
+  (0.1ms) SAVEPOINT active_record_1
985
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.420533"], ["updated_at", "2014-09-12 05:14:53.420533"]]
986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
987
+ Processing by FoosController#show as HTML
988
+ Parameters: {"id"=>"1"}
989
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
990
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
991
+  (0.4ms) rollback transaction
992
+  (0.1ms) begin transaction
993
+ Processing by FoosController#new as HTML
994
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
995
+  (0.1ms) rollback transaction
996
+  (0.1ms) begin transaction
997
+  (0.1ms) SAVEPOINT active_record_1
998
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.435445"], ["updated_at", "2014-09-12 05:14:53.435445"]]
999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1000
+ Processing by FoosController#edit as HTML
1001
+ Parameters: {"id"=>"1"}
1002
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1003
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
1004
+  (0.5ms) rollback transaction
1005
+  (0.1ms) begin transaction
1006
+  (0.2ms) SELECT COUNT(*) FROM "foos"
1007
+ Processing by FoosController#create as HTML
1008
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1009
+  (0.1ms) SAVEPOINT active_record_1
1010
+ SQL (1.1ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.451275"], ["updated_at", "2014-09-12 05:14:53.451275"]]
1011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1012
+ Redirected to http://test.host/foos/1
1013
+ Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
1014
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1015
+  (1.1ms) rollback transaction
1016
+  (0.2ms) begin transaction
1017
+ Processing by FoosController#create as HTML
1018
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1019
+  (0.1ms) SAVEPOINT active_record_1
1020
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.474984"], ["updated_at", "2014-09-12 05:14:53.474984"]]
1021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1022
+ Redirected to http://test.host/foos/1
1023
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1024
+  (0.4ms) rollback transaction
1025
+  (0.1ms) begin transaction
1026
+ Processing by FoosController#create as HTML
1027
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1028
+  (0.1ms) SAVEPOINT active_record_1
1029
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.484216"], ["updated_at", "2014-09-12 05:14:53.484216"]]
1030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1031
+ Redirected to http://test.host/foos/1
1032
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1033
+ Foo Load (0.3ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
1034
+  (0.5ms) rollback transaction
1035
+  (0.1ms) begin transaction
1036
+ Processing by FoosController#create as HTML
1037
+ Parameters: {"foo"=>{"bar"=>""}}
1038
+  (0.1ms) SAVEPOINT active_record_1
1039
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1040
+ Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.2ms)
1041
+  (0.1ms) rollback transaction
1042
+  (0.1ms) begin transaction
1043
+ Processing by FoosController#create as HTML
1044
+ Parameters: {"foo"=>{"bar"=>""}}
1045
+  (0.1ms) SAVEPOINT active_record_1
1046
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1047
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
1048
+  (0.0ms) rollback transaction
1049
+  (0.0ms) begin transaction
1050
+  (0.0ms) SAVEPOINT active_record_1
1051
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.508074"], ["updated_at", "2014-09-12 05:14:53.508074"]]
1052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1053
+ Processing by FoosController#update as HTML
1054
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
1055
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1056
+  (0.0ms) SAVEPOINT active_record_1
1057
+ SQL (1.3ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:14:53.511514"]]
1058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1059
+ Redirected to http://test.host/foos/1
1060
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
1061
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1062
+  (0.5ms) rollback transaction
1063
+  (0.1ms) begin transaction
1064
+  (0.0ms) SAVEPOINT active_record_1
1065
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.518218"], ["updated_at", "2014-09-12 05:14:53.518218"]]
1066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1067
+ Processing by FoosController#update as HTML
1068
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1069
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1070
+  (0.1ms) SAVEPOINT active_record_1
1071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
+ Redirected to http://test.host/foos/1
1073
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1074
+  (0.4ms) rollback transaction
1075
+  (0.1ms) begin transaction
1076
+  (0.1ms) SAVEPOINT active_record_1
1077
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.526094"], ["updated_at", "2014-09-12 05:14:53.526094"]]
1078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1079
+ Processing by FoosController#update as HTML
1080
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1081
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1082
+  (0.1ms) SAVEPOINT active_record_1
1083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1084
+ Redirected to http://test.host/foos/1
1085
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1086
+  (0.4ms) rollback transaction
1087
+  (0.1ms) begin transaction
1088
+  (0.1ms) SAVEPOINT active_record_1
1089
+ SQL (0.2ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.534182"], ["updated_at", "2014-09-12 05:14:53.534182"]]
1090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1091
+ Processing by FoosController#update as HTML
1092
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1093
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1094
+  (0.0ms) SAVEPOINT active_record_1
1095
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1096
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)
1097
+  (0.4ms) rollback transaction
1098
+  (0.1ms) begin transaction
1099
+  (0.0ms) SAVEPOINT active_record_1
1100
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.541633"], ["updated_at", "2014-09-12 05:14:53.541633"]]
1101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1102
+ Processing by FoosController#update as HTML
1103
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1104
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1105
+  (0.1ms) SAVEPOINT active_record_1
1106
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1107
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1108
+  (0.6ms) rollback transaction
1109
+  (0.1ms) begin transaction
1110
+  (0.1ms) SAVEPOINT active_record_1
1111
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.551103"], ["updated_at", "2014-09-12 05:14:53.551103"]]
1112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1113
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1114
+ Processing by FoosController#destroy as HTML
1115
+ Parameters: {"id"=>"1"}
1116
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1117
+  (0.0ms) SAVEPOINT active_record_1
1118
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1120
+ Redirected to http://test.host/foos
1121
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1122
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1123
+  (0.5ms) rollback transaction
1124
+  (0.1ms) begin transaction
1125
+  (0.1ms) SAVEPOINT active_record_1
1126
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.560735"], ["updated_at", "2014-09-12 05:14:53.560735"]]
1127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1128
+ Processing by FoosController#destroy as HTML
1129
+ Parameters: {"id"=>"1"}
1130
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1131
+  (0.1ms) SAVEPOINT active_record_1
1132
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
+ Redirected to http://test.host/foos
1135
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
1136
+  (0.6ms) rollback transaction
1137
+  (1.4ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
1138
+  (1.0ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
1139
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1140
+  (0.1ms) select sqlite_version(*)
1141
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1142
+  (0.1ms) SELECT version FROM "schema_migrations"
1143
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
1144
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
1145
+ ActiveRecord::SchemaMigration Load (4.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1146
+  (0.1ms) begin transaction
1147
+  (0.1ms) SAVEPOINT active_record_1
1148
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.193168"], ["updated_at", "2014-09-12 05:16:45.193168"]]
1149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1150
+ Processing by AdminFoosController#index as HTML
1151
+ Rendered admin_foos/index.html.erb within layouts/application (0.8ms)
1152
+ Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.0ms)
1153
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos"
1154
+  (0.5ms) rollback transaction
1155
+  (0.1ms) begin transaction
1156
+  (0.1ms) SAVEPOINT active_record_1
1157
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.231462"], ["updated_at", "2014-09-12 05:16:45.231462"]]
1158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1159
+ Processing by AdminFoosController#show as HTML
1160
+ Parameters: {"id"=>"1"}
1161
+ AdminFoo Load (0.2ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
1162
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
1163
+  (0.6ms) rollback transaction
1164
+  (0.1ms) begin transaction
1165
+ Processing by AdminFoosController#new as HTML
1166
+ Filter chain halted as #<Proc:0x007f8c5bb77cc8@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1167
+ Completed 401 Unauthorized in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1168
+  (0.1ms) rollback transaction
1169
+  (0.1ms) begin transaction
1170
+  (0.0ms) SAVEPOINT active_record_1
1171
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.246717"], ["updated_at", "2014-09-12 05:16:45.246717"]]
1172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1173
+ Processing by AdminFoosController#edit as HTML
1174
+ Parameters: {"id"=>"1"}
1175
+ Filter chain halted as #<Proc:0x007f8c5bb77cc8@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1176
+ Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1177
+  (0.5ms) rollback transaction
1178
+  (0.1ms) begin transaction
1179
+ Processing by AdminFoosController#create as HTML
1180
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
1181
+ Filter chain halted as #<Proc:0x007f8c5bb77cc8@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1182
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1183
+  (0.1ms) rollback transaction
1184
+  (0.1ms) begin transaction
1185
+  (0.1ms) SAVEPOINT active_record_1
1186
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.257387"], ["updated_at", "2014-09-12 05:16:45.257387"]]
1187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1188
+ Processing by AdminFoosController#update as HTML
1189
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
1190
+ Filter chain halted as #<Proc:0x007f8c5bb77cc8@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1191
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1192
+  (0.7ms) rollback transaction
1193
+  (0.1ms) begin transaction
1194
+  (0.1ms) SAVEPOINT active_record_1
1195
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.264223"], ["updated_at", "2014-09-12 05:16:45.264223"]]
1196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1197
+ Processing by AdminFoosController#destroy as HTML
1198
+ Parameters: {"id"=>"1"}
1199
+ Filter chain halted as #<Proc:0x007f8c5bb77cc8@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1200
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1201
+  (0.7ms) rollback transaction
1202
+  (0.1ms) begin transaction
1203
+  (0.1ms) SAVEPOINT active_record_1
1204
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.279926"], ["updated_at", "2014-09-12 05:16:45.279926"]]
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+ Processing by FoosController#index as HTML
1207
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1208
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos"
1209
+  (0.7ms) rollback transaction
1210
+  (0.1ms) begin transaction
1211
+  (0.2ms) SAVEPOINT active_record_1
1212
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.291261"], ["updated_at", "2014-09-12 05:16:45.291261"]]
1213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1214
+ Processing by FoosController#show as HTML
1215
+ Parameters: {"id"=>"1"}
1216
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1217
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
1218
+  (0.5ms) rollback transaction
1219
+  (0.1ms) begin transaction
1220
+ Processing by FoosController#new as HTML
1221
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1222
+  (0.1ms) rollback transaction
1223
+  (0.1ms) begin transaction
1224
+  (0.0ms) SAVEPOINT active_record_1
1225
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.303940"], ["updated_at", "2014-09-12 05:16:45.303940"]]
1226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1227
+ Processing by FoosController#edit as HTML
1228
+ Parameters: {"id"=>"1"}
1229
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1230
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
1231
+  (0.7ms) rollback transaction
1232
+  (0.1ms) begin transaction
1233
+  (0.2ms) SELECT COUNT(*) FROM "foos"
1234
+ Processing by FoosController#create as HTML
1235
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1236
+  (0.1ms) SAVEPOINT active_record_1
1237
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.321571"], ["updated_at", "2014-09-12 05:16:45.321571"]]
1238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1239
+ Redirected to http://test.host/foos/1
1240
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1241
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1242
+  (0.6ms) rollback transaction
1243
+  (0.1ms) begin transaction
1244
+ Processing by FoosController#create as HTML
1245
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1246
+  (0.1ms) SAVEPOINT active_record_1
1247
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.330511"], ["updated_at", "2014-09-12 05:16:45.330511"]]
1248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1249
+ Redirected to http://test.host/foos/1
1250
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1251
+  (0.5ms) rollback transaction
1252
+  (0.1ms) begin transaction
1253
+ Processing by FoosController#create as HTML
1254
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1255
+  (0.1ms) SAVEPOINT active_record_1
1256
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.339684"], ["updated_at", "2014-09-12 05:16:45.339684"]]
1257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1258
+ Redirected to http://test.host/foos/1
1259
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1260
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
1261
+  (0.6ms) rollback transaction
1262
+  (0.1ms) begin transaction
1263
+ Processing by FoosController#create as HTML
1264
+ Parameters: {"foo"=>{"bar"=>""}}
1265
+  (0.1ms) SAVEPOINT active_record_1
1266
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1267
+ Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.2ms)
1268
+  (0.9ms) rollback transaction
1269
+  (0.1ms) begin transaction
1270
+ Processing by FoosController#create as HTML
1271
+ Parameters: {"foo"=>{"bar"=>""}}
1272
+  (0.1ms) SAVEPOINT active_record_1
1273
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1274
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
1275
+  (0.1ms) rollback transaction
1276
+  (0.1ms) begin transaction
1277
+  (0.0ms) SAVEPOINT active_record_1
1278
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.374859"], ["updated_at", "2014-09-12 05:16:45.374859"]]
1279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1280
+ Processing by FoosController#update as HTML
1281
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
1282
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1283
+  (0.1ms) SAVEPOINT active_record_1
1284
+ SQL (1.3ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:16:45.379243"]]
1285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1286
+ Redirected to http://test.host/foos/1
1287
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
1288
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1289
+  (0.6ms) rollback transaction
1290
+  (0.1ms) begin transaction
1291
+  (0.1ms) SAVEPOINT active_record_1
1292
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.386298"], ["updated_at", "2014-09-12 05:16:45.386298"]]
1293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1294
+ Processing by FoosController#update as HTML
1295
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1296
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1297
+  (0.1ms) SAVEPOINT active_record_1
1298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1299
+ Redirected to http://test.host/foos/1
1300
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1301
+  (0.5ms) rollback transaction
1302
+  (0.1ms) begin transaction
1303
+  (0.1ms) SAVEPOINT active_record_1
1304
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.393699"], ["updated_at", "2014-09-12 05:16:45.393699"]]
1305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1306
+ Processing by FoosController#update as HTML
1307
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1308
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1309
+  (0.1ms) SAVEPOINT active_record_1
1310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1311
+ Redirected to http://test.host/foos/1
1312
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1313
+  (0.5ms) rollback transaction
1314
+  (0.1ms) begin transaction
1315
+  (0.1ms) SAVEPOINT active_record_1
1316
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.402047"], ["updated_at", "2014-09-12 05:16:45.402047"]]
1317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1318
+ Processing by FoosController#update as HTML
1319
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1320
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1321
+  (0.1ms) SAVEPOINT active_record_1
1322
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1323
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms)
1324
+  (0.6ms) rollback transaction
1325
+  (0.1ms) begin transaction
1326
+  (0.0ms) SAVEPOINT active_record_1
1327
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.411600"], ["updated_at", "2014-09-12 05:16:45.411600"]]
1328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1329
+ Processing by FoosController#update as HTML
1330
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1331
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1332
+  (0.0ms) SAVEPOINT active_record_1
1333
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1334
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
1335
+  (0.6ms) rollback transaction
1336
+  (0.2ms) begin transaction
1337
+  (0.1ms) SAVEPOINT active_record_1
1338
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.421046"], ["updated_at", "2014-09-12 05:16:45.421046"]]
1339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1340
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1341
+ Processing by FoosController#destroy as HTML
1342
+ Parameters: {"id"=>"1"}
1343
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1344
+  (0.1ms) SAVEPOINT active_record_1
1345
+ SQL (0.5ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1347
+ Redirected to http://test.host/foos
1348
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
1349
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1350
+  (0.6ms) rollback transaction
1351
+  (0.1ms) begin transaction
1352
+  (0.1ms) SAVEPOINT active_record_1
1353
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.429714"], ["updated_at", "2014-09-12 05:16:45.429714"]]
1354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1355
+ Processing by FoosController#destroy as HTML
1356
+ Parameters: {"id"=>"1"}
1357
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1358
+  (0.1ms) SAVEPOINT active_record_1
1359
+ SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1361
+ Redirected to http://test.host/foos
1362
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1363
+  (0.5ms) rollback transaction
1364
+  (1.3ms) CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) 
1365
+  (1.0ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
1366
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1367
+  (0.2ms) select sqlite_version(*)
1368
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1369
+  (0.2ms) SELECT version FROM "schema_migrations"
1370
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912042735')
1371
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
1372
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1373
+  (0.1ms) begin transaction
1374
+  (0.1ms) SAVEPOINT active_record_1
1375
+ SQL (0.6ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.176008"], ["updated_at", "2014-09-12 05:20:28.176008"]]
1376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1377
+ Processing by AdminFoosController#index as HTML
1378
+ Rendered admin_foos/index.html.erb within layouts/application (0.5ms)
1379
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
1380
+ AdminFoo Load (0.1ms) SELECT "admin_foos".* FROM "admin_foos"
1381
+  (0.7ms) rollback transaction
1382
+  (0.1ms) begin transaction
1383
+  (0.1ms) SAVEPOINT active_record_1
1384
+ SQL (0.4ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.205225"], ["updated_at", "2014-09-12 05:20:28.205225"]]
1385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1386
+ Processing by AdminFoosController#show as HTML
1387
+ Parameters: {"id"=>"1"}
1388
+ AdminFoo Load (0.3ms) SELECT "admin_foos".* FROM "admin_foos" WHERE "admin_foos"."id" = ? LIMIT 1 [["id", 1]]
1389
+ Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.3ms)
1390
+  (0.4ms) rollback transaction
1391
+  (0.1ms) begin transaction
1392
+ Processing by AdminFoosController#new as HTML
1393
+ Filter chain halted as #<Proc:0x007fc4ddb05ff0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1394
+ Completed 401 Unauthorized in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1395
+  (0.1ms) rollback transaction
1396
+  (0.1ms) begin transaction
1397
+  (0.1ms) SAVEPOINT active_record_1
1398
+ SQL (0.6ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.224302"], ["updated_at", "2014-09-12 05:20:28.224302"]]
1399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
+ Processing by AdminFoosController#edit as HTML
1401
+ Parameters: {"id"=>"1"}
1402
+ Filter chain halted as #<Proc:0x007fc4ddb05ff0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1403
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1404
+  (7.4ms) rollback transaction
1405
+  (0.1ms) begin transaction
1406
+ Processing by AdminFoosController#create as HTML
1407
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}}
1408
+ Filter chain halted as #<Proc:0x007fc4ddb05ff0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1409
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1410
+  (0.1ms) rollback transaction
1411
+  (0.1ms) begin transaction
1412
+  (0.1ms) SAVEPOINT active_record_1
1413
+ SQL (0.5ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.247551"], ["updated_at", "2014-09-12 05:20:28.247551"]]
1414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1415
+ Processing by AdminFoosController#update as HTML
1416
+ Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
1417
+ Filter chain halted as #<Proc:0x007fc4ddb05ff0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1418
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1419
+  (0.5ms) rollback transaction
1420
+  (0.1ms) begin transaction
1421
+  (0.0ms) SAVEPOINT active_record_1
1422
+ SQL (0.3ms) INSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.255208"], ["updated_at", "2014-09-12 05:20:28.255208"]]
1423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1424
+ Processing by AdminFoosController#destroy as HTML
1425
+ Parameters: {"id"=>"1"}
1426
+ Filter chain halted as #<Proc:0x007fc4ddb05ff0@/Users/tj/github/before-actions-gem/before_actions/spec/dummy/app/controllers/admin_foos_controller.rb:5> rendered or redirected
1427
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1428
+  (0.4ms) rollback transaction
1429
+  (0.1ms) begin transaction
1430
+  (0.1ms) SAVEPOINT active_record_1
1431
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.266810"], ["updated_at", "2014-09-12 05:20:28.266810"]]
1432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1433
+ Processing by FoosController#index as HTML
1434
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
1435
+ Foo Load (0.2ms) SELECT "foos".* FROM "foos"
1436
+  (0.4ms) rollback transaction
1437
+  (0.1ms) begin transaction
1438
+  (0.0ms) SAVEPOINT active_record_1
1439
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.278303"], ["updated_at", "2014-09-12 05:20:28.278303"]]
1440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1441
+ Processing by FoosController#show as HTML
1442
+ Parameters: {"id"=>"1"}
1443
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1444
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
1445
+  (0.5ms) rollback transaction
1446
+  (0.1ms) begin transaction
1447
+ Processing by FoosController#new as HTML
1448
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1449
+  (0.1ms) rollback transaction
1450
+  (0.1ms) begin transaction
1451
+  (0.0ms) SAVEPOINT active_record_1
1452
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.290723"], ["updated_at", "2014-09-12 05:20:28.290723"]]
1453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1454
+ Processing by FoosController#edit as HTML
1455
+ Parameters: {"id"=>"1"}
1456
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1457
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
1458
+  (0.5ms) rollback transaction
1459
+  (0.1ms) begin transaction
1460
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1461
+ Processing by FoosController#create as HTML
1462
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1463
+  (0.1ms) SAVEPOINT active_record_1
1464
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.303886"], ["updated_at", "2014-09-12 05:20:28.303886"]]
1465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1466
+ Redirected to http://test.host/foos/1
1467
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1468
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1469
+  (0.4ms) rollback transaction
1470
+  (0.1ms) begin transaction
1471
+ Processing by FoosController#create as HTML
1472
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1473
+  (0.1ms) SAVEPOINT active_record_1
1474
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.310435"], ["updated_at", "2014-09-12 05:20:28.310435"]]
1475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1476
+ Redirected to http://test.host/foos/1
1477
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
1478
+  (0.6ms) rollback transaction
1479
+  (0.1ms) begin transaction
1480
+ Processing by FoosController#create as HTML
1481
+ Parameters: {"foo"=>{"bar"=>"cool"}}
1482
+  (0.1ms) SAVEPOINT active_record_1
1483
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.319341"], ["updated_at", "2014-09-12 05:20:28.319341"]]
1484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1485
+ Redirected to http://test.host/foos/1
1486
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1487
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
1488
+  (0.5ms) rollback transaction
1489
+  (0.0ms) begin transaction
1490
+ Processing by FoosController#create as HTML
1491
+ Parameters: {"foo"=>{"bar"=>""}}
1492
+  (0.0ms) SAVEPOINT active_record_1
1493
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1494
+ Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.1ms)
1495
+  (0.1ms) rollback transaction
1496
+  (0.1ms) begin transaction
1497
+ Processing by FoosController#create as HTML
1498
+ Parameters: {"foo"=>{"bar"=>""}}
1499
+  (0.1ms) SAVEPOINT active_record_1
1500
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1501
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
1502
+  (0.1ms) rollback transaction
1503
+  (0.1ms) begin transaction
1504
+  (0.0ms) SAVEPOINT active_record_1
1505
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.342345"], ["updated_at", "2014-09-12 05:20:28.342345"]]
1506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1507
+ Processing by FoosController#update as HTML
1508
+ Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
1509
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1510
+  (0.1ms) SAVEPOINT active_record_1
1511
+ SQL (1.7ms) UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:20:28.347053"]]
1512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1513
+ Redirected to http://test.host/foos/1
1514
+ Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
1515
+ Foo Load (0.6ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1516
+  (0.6ms) rollback transaction
1517
+  (0.1ms) begin transaction
1518
+  (0.1ms) SAVEPOINT active_record_1
1519
+ SQL (0.6ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.357408"], ["updated_at", "2014-09-12 05:20:28.357408"]]
1520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1521
+ Processing by FoosController#update as HTML
1522
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1523
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1524
+  (1.0ms) SAVEPOINT active_record_1
1525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1526
+ Redirected to http://test.host/foos/1
1527
+ Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
1528
+  (1.2ms) rollback transaction
1529
+  (0.1ms) begin transaction
1530
+  (0.9ms) SAVEPOINT active_record_1
1531
+ SQL (0.5ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.372926"], ["updated_at", "2014-09-12 05:20:28.372926"]]
1532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1533
+ Processing by FoosController#update as HTML
1534
+ Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
1535
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1536
+  (0.1ms) SAVEPOINT active_record_1
1537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1538
+ Redirected to http://test.host/foos/1
1539
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1540
+  (0.6ms) rollback transaction
1541
+  (0.1ms) begin transaction
1542
+  (0.1ms) SAVEPOINT active_record_1
1543
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.381948"], ["updated_at", "2014-09-12 05:20:28.381948"]]
1544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1545
+ Processing by FoosController#update as HTML
1546
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1547
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1548
+  (0.0ms) SAVEPOINT active_record_1
1549
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1550
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
1551
+  (0.6ms) rollback transaction
1552
+  (0.1ms) begin transaction
1553
+  (0.1ms) SAVEPOINT active_record_1
1554
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.389488"], ["updated_at", "2014-09-12 05:20:28.389488"]]
1555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1556
+ Processing by FoosController#update as HTML
1557
+ Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
1558
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1559
+  (0.1ms) SAVEPOINT active_record_1
1560
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1561
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
1562
+  (0.5ms) rollback transaction
1563
+  (0.1ms) begin transaction
1564
+  (0.1ms) SAVEPOINT active_record_1
1565
+ SQL (0.4ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.398025"], ["updated_at", "2014-09-12 05:20:28.398025"]]
1566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1567
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1568
+ Processing by FoosController#destroy as HTML
1569
+ Parameters: {"id"=>"1"}
1570
+ Foo Load (0.1ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1571
+  (0.0ms) SAVEPOINT active_record_1
1572
+ SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1574
+ Redirected to http://test.host/foos
1575
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1576
+  (0.1ms) SELECT COUNT(*) FROM "foos"
1577
+  (0.5ms) rollback transaction
1578
+  (0.1ms) begin transaction
1579
+  (0.1ms) SAVEPOINT active_record_1
1580
+ SQL (0.3ms) INSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?) [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.405660"], ["updated_at", "2014-09-12 05:20:28.405660"]]
1581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1582
+ Processing by FoosController#destroy as HTML
1583
+ Parameters: {"id"=>"1"}
1584
+ Foo Load (0.0ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
1585
+  (0.0ms) SAVEPOINT active_record_1
1586
+ SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
1587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1588
+ Redirected to http://test.host/foos
1589
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1590
+  (0.6ms) rollback transaction