before_actions 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +106 -0
- data/Rakefile +13 -19
- data/app/controllers/before_actions/foo_controller.rb +8 -0
- data/lib/before_actions.rb +7 -1
- data/lib/before_actions/controller.rb +29 -20
- data/lib/before_actions/engine.rb +7 -0
- data/lib/before_actions/version.rb +1 -1
- data/spec/controllers/admin_foos_controller_spec.rb +78 -0
- data/spec/controllers/foos_controller_spec.rb +139 -0
- data/{test → spec}/dummy/README.rdoc +0 -0
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -3
- data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
- data/spec/dummy/app/controllers/admin_foos_controller.rb +53 -0
- data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/controllers/foos_controller.rb +92 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/models/admin_foo.rb +2 -0
- data/spec/dummy/app/models/foo.rb +3 -0
- data/spec/dummy/app/views/admin_foos/_form.html.erb +21 -0
- data/spec/dummy/app/views/admin_foos/edit.html.erb +6 -0
- data/spec/dummy/app/views/admin_foos/index.html.erb +25 -0
- data/spec/dummy/app/views/admin_foos/new.html.erb +5 -0
- data/spec/dummy/app/views/admin_foos/show.html.erb +9 -0
- data/spec/dummy/app/views/foos/_form.html.erb +21 -0
- data/spec/dummy/app/views/foos/edit.html.erb +6 -0
- data/spec/dummy/app/views/foos/index.html.erb +25 -0
- data/spec/dummy/app/views/foos/new.html.erb +5 -0
- data/spec/dummy/app/views/foos/show.html.erb +9 -0
- data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
- data/{test → spec}/dummy/bin/bundle +0 -0
- data/{test → spec}/dummy/bin/rails +0 -0
- data/{test → spec}/dummy/bin/rake +0 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/{test → spec}/dummy/config/application.rb +8 -0
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -0
- data/{test → spec}/dummy/config/environments/production.rb +0 -0
- data/{test → spec}/dummy/config/environments/test.rb +0 -0
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
- data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/{test → spec}/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20140912040816_create_foos.rb +9 -0
- data/spec/dummy/db/migrate/20140912042735_create_admin_foos.rb +9 -0
- data/spec/dummy/db/schema.rb +28 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/templates/rails/scaffold_controller/controller.rb +97 -0
- data/spec/dummy/log/development.log +15 -0
- data/spec/dummy/log/test.log +1590 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/{test → spec}/dummy/public/favicon.ico +0 -0
- data/spec/rails_helper.rb +54 -0
- data/spec/spec_helper.rb +85 -0
- metadata +168 -74
- data/README.rdoc +0 -60
- data/lib/before_actions/command.rb +0 -15
- data/test/before_actions_test.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
Binary file
|
@@ -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
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateFoos (20140912040816)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140912040816"]]
|
9
|
+
[1m[35m (1.0ms)[0m commit transaction
|
10
|
+
Migrating to CreateAdminFoos (20140912042735)
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140912042735"]]
|
14
|
+
[1m[35m (0.9ms)[0m commit transaction
|
15
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
@@ -0,0 +1,1590 @@
|
|
1
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
2
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
3
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
4
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
5
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
8
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.2ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
18
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
19
|
+
[1m[35m (0.1ms)[0m begin transaction
|
20
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23
|
+
Processing by AdminFoosController#show as HTML
|
24
|
+
Parameters: {"id"=>"1"}
|
25
|
+
[1m[35mAdminFoo Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
28
|
+
[1m[35m (0.1ms)[0m begin transaction
|
29
|
+
Processing by AdminFoosController#new as HTML
|
30
|
+
Completed 500 Internal Server Error in 2ms
|
31
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36
|
+
Processing by AdminFoosController#edit as HTML
|
37
|
+
Parameters: {"id"=>"1"}
|
38
|
+
[1m[35mAdminFoo Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43
|
+
Processing by AdminFoosController#create as HTML
|
44
|
+
Parameters: {"admin_foo"=>{"bar"=>"cool"}}
|
45
|
+
Completed 500 Internal Server Error in 1ms
|
46
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
49
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
51
|
+
Processing by AdminFoosController#update as HTML
|
52
|
+
Parameters: {"admin_foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
53
|
+
[1m[35mAdminFoo Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
57
|
+
[1m[35m (0.1ms)[0m begin transaction
|
58
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
59
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61
|
+
Processing by AdminFoosController#destroy as HTML
|
62
|
+
Parameters: {"id"=>"1"}
|
63
|
+
[1m[35mAdminFoo Load (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
69
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71
|
+
Processing by FoosController#index as HTML
|
72
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
73
|
+
[1m[35mFoo Load (0.2ms)[0m SELECT "foos".* FROM "foos"
|
74
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79
|
+
Processing by FoosController#show as HTML
|
80
|
+
Parameters: {"id"=>"1"}
|
81
|
+
[1m[35mFoo Load (0.2ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
82
|
+
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
83
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
84
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85
|
+
Processing by FoosController#new as HTML
|
86
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
87
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
90
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
92
|
+
Processing by FoosController#edit as HTML
|
93
|
+
Parameters: {"id"=>"1"}
|
94
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
95
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
96
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
97
|
+
[1m[35m (0.1ms)[0m begin transaction
|
98
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
99
|
+
Processing by FoosController#create as HTML
|
100
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
102
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.676475"], ["updated_at", "2014-09-12 05:07:40.676475"]]
|
103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
104
|
+
Redirected to http://test.host/foos/1
|
105
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
106
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
107
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
108
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
109
|
+
Processing by FoosController#create as HTML
|
110
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
111
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
112
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.696068"], ["updated_at", "2014-09-12 05:07:40.696068"]]
|
113
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
114
|
+
Redirected to http://test.host/foos/1
|
115
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
116
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
118
|
+
Processing by FoosController#create as HTML
|
119
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
120
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
121
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
123
|
+
Redirected to http://test.host/foos/1
|
124
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
125
|
+
[1m[35mFoo Load (0.2ms)[0m SELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1
|
126
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
128
|
+
Processing by FoosController#create as HTML
|
129
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
131
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
132
|
+
Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
133
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
135
|
+
Processing by FoosController#create as HTML
|
136
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
137
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
138
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
139
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.5ms)
|
140
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
143
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
145
|
+
Processing by FoosController#update as HTML
|
146
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
147
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
148
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
149
|
+
[1m[35mSQL (1.1ms)[0m UPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1 [["bar", "yay"], ["updated_at", "2014-09-12 05:07:40.759367"]]
|
150
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
151
|
+
Redirected to http://test.host/foos/1
|
152
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
|
153
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
154
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
156
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
157
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159
|
+
Processing by FoosController#update as HTML
|
160
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
161
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
164
|
+
Redirected to http://test.host/foos/1
|
165
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
166
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
167
|
+
[1m[35m (0.1ms)[0m begin transaction
|
168
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
169
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
171
|
+
Processing by FoosController#update as HTML
|
172
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
173
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
176
|
+
Redirected to http://test.host/foos/1
|
177
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
178
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
181
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
183
|
+
Processing by FoosController#update as HTML
|
184
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
185
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
186
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
187
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
188
|
+
Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.4ms)
|
189
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
192
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
194
|
+
Processing by FoosController#update as HTML
|
195
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
196
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
197
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
198
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
199
|
+
Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)
|
200
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
201
|
+
[1m[35m (0.5ms)[0m begin transaction
|
202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
203
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
205
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
206
|
+
Processing by FoosController#destroy as HTML
|
207
|
+
Parameters: {"id"=>"1"}
|
208
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
210
|
+
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "foos" WHERE "foos"."id" = ?[0m [["id", 1]]
|
211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
212
|
+
Redirected to http://test.host/foos
|
213
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
214
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
215
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
218
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:07:40.821133"], ["updated_at", "2014-09-12 05:07:40.821133"]]
|
219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
220
|
+
Processing by FoosController#destroy as HTML
|
221
|
+
Parameters: {"id"=>"1"}
|
222
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
224
|
+
[1m[36mSQL (0.8ms)[0m [1mDELETE FROM "foos" WHERE "foos"."id" = ?[0m [["id", 1]]
|
225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
226
|
+
Redirected to http://test.host/foos
|
227
|
+
Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
|
228
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
229
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
230
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
231
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
232
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
233
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
234
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
235
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
236
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
237
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
239
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
240
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.1ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
246
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
247
|
+
[1m[35m (0.1ms)[0m begin transaction
|
248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
249
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
251
|
+
Processing by AdminFoosController#show as HTML
|
252
|
+
Parameters: {"id"=>"1"}
|
253
|
+
[1m[35mAdminFoo Load (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
256
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.120392"], ["updated_at", "2014-09-12 05:11:51.120392"]]
|
279
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
286
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
287
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.140714"], ["updated_at", "2014-09-12 05:11:51.140714"]]
|
297
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
301
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
304
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.151030"], ["updated_at", "2014-09-12 05:11:51.151030"]]
|
305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
+
Processing by FoosController#show as HTML
|
307
|
+
Parameters: {"id"=>"1"}
|
308
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
309
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
|
310
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
|
+
Processing by FoosController#new as HTML
|
313
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
314
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
317
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.167160"], ["updated_at", "2014-09-12 05:11:51.167160"]]
|
318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
319
|
+
Processing by FoosController#edit as HTML
|
320
|
+
Parameters: {"id"=>"1"}
|
321
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
322
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
323
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
325
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "foos"
|
326
|
+
Processing by FoosController#create as HTML
|
327
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
329
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
331
|
+
Redirected to http://test.host/foos/1
|
332
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
333
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
334
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
336
|
+
Processing by FoosController#create as HTML
|
337
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
339
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
+
Redirected to http://test.host/foos/1
|
342
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
343
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
345
|
+
Processing by FoosController#create as HTML
|
346
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
348
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.207730"], ["updated_at", "2014-09-12 05:11:51.207730"]]
|
349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
350
|
+
Redirected to http://test.host/foos/1
|
351
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
352
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
353
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
355
|
+
Processing by FoosController#create as HTML
|
356
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
358
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
359
|
+
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
360
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
362
|
+
Processing by FoosController#create as HTML
|
363
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
366
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
370
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.238910"], ["updated_at", "2014-09-12 05:11:51.238910"]]
|
371
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
372
|
+
Processing by FoosController#update as HTML
|
373
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
374
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
376
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:11:51.242738"]]
|
377
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
378
|
+
Redirected to http://test.host/foos/1
|
379
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
|
380
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
381
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
383
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
384
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.249456"], ["updated_at", "2014-09-12 05:11:51.249456"]]
|
385
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
386
|
+
Processing by FoosController#update as HTML
|
387
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
388
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
389
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
391
|
+
Redirected to http://test.host/foos/1
|
392
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
393
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
396
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.256936"], ["updated_at", "2014-09-12 05:11:51.256936"]]
|
397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
398
|
+
Processing by FoosController#update as HTML
|
399
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
400
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
402
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
403
|
+
Redirected to http://test.host/foos/1
|
404
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
405
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
407
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
408
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.263345"], ["updated_at", "2014-09-12 05:11:51.263345"]]
|
409
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
410
|
+
Processing by FoosController#update as HTML
|
411
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
412
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
413
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
414
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
415
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
416
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
419
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.271214"], ["updated_at", "2014-09-12 05:11:51.271214"]]
|
420
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
421
|
+
Processing by FoosController#update as HTML
|
422
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
423
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
425
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
426
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
427
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
430
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:11:51.278467"], ["updated_at", "2014-09-12 05:11:51.278467"]]
|
431
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
432
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
433
|
+
Processing by FoosController#destroy as HTML
|
434
|
+
Parameters: {"id"=>"1"}
|
435
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
437
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
438
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
439
|
+
Redirected to http://test.host/foos
|
440
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
|
441
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
442
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
443
|
+
[1m[35m (0.1ms)[0m begin transaction
|
444
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
447
|
+
Processing by FoosController#destroy as HTML
|
448
|
+
Parameters: {"id"=>"1"}
|
449
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
450
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
451
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
453
|
+
Redirected to http://test.host/foos
|
454
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
455
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
456
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
457
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
458
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
459
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
460
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
461
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
462
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
463
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
464
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
467
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.1ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
473
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
474
|
+
[1m[35m (0.1ms)[0m begin transaction
|
475
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
476
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
478
|
+
Processing by AdminFoosController#show as HTML
|
479
|
+
Parameters: {"id"=>"1"}
|
480
|
+
[1m[35mAdminFoo Load (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
483
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
488
|
+
[1m[35m (0.1ms)[0m begin transaction
|
489
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
490
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
503
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
505
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.675955"], ["updated_at", "2014-09-12 05:12:34.675955"]]
|
506
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
514
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
523
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.696026"], ["updated_at", "2014-09-12 05:12:34.696026"]]
|
524
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
528
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
530
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
531
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.707537"], ["updated_at", "2014-09-12 05:12:34.707537"]]
|
532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
533
|
+
Processing by FoosController#show as HTML
|
534
|
+
Parameters: {"id"=>"1"}
|
535
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
536
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
537
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
539
|
+
Processing by FoosController#new as HTML
|
540
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
541
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
543
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
544
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.725359"], ["updated_at", "2014-09-12 05:12:34.725359"]]
|
545
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
546
|
+
Processing by FoosController#edit as HTML
|
547
|
+
Parameters: {"id"=>"1"}
|
548
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
549
|
+
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
550
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
551
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
552
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "foos"
|
553
|
+
Processing by FoosController#create as HTML
|
554
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
555
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
556
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
558
|
+
Redirected to http://test.host/foos/1
|
559
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
560
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
561
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
563
|
+
Processing by FoosController#create as HTML
|
564
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
565
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
566
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
568
|
+
Redirected to http://test.host/foos/1
|
569
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
570
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
572
|
+
Processing by FoosController#create as HTML
|
573
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
574
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
575
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.772670"], ["updated_at", "2014-09-12 05:12:34.772670"]]
|
576
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
577
|
+
Redirected to http://test.host/foos/1
|
578
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
579
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
580
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
582
|
+
Processing by FoosController#create as HTML
|
583
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
584
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
585
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
586
|
+
Completed 200 OK in 11ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
587
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
589
|
+
Processing by FoosController#create as HTML
|
590
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
591
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
592
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
593
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
594
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
595
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
597
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.800549"], ["updated_at", "2014-09-12 05:12:34.800549"]]
|
598
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
599
|
+
Processing by FoosController#update as HTML
|
600
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
601
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
603
|
+
[1m[36mSQL (1.8ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:12:34.806181"]]
|
604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
605
|
+
Redirected to http://test.host/foos/1
|
606
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
607
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
608
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
610
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
611
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.815273"], ["updated_at", "2014-09-12 05:12:34.815273"]]
|
612
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
613
|
+
Processing by FoosController#update as HTML
|
614
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
615
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
616
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
617
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
618
|
+
Redirected to http://test.host/foos/1
|
619
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
620
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
622
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
623
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.823901"], ["updated_at", "2014-09-12 05:12:34.823901"]]
|
624
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
625
|
+
Processing by FoosController#update as HTML
|
626
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
627
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
628
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
630
|
+
Redirected to http://test.host/foos/1
|
631
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
632
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
635
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.830146"], ["updated_at", "2014-09-12 05:12:34.830146"]]
|
636
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
637
|
+
Processing by FoosController#update as HTML
|
638
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
639
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
640
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
641
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
642
|
+
Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
|
643
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
646
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.840866"], ["updated_at", "2014-09-12 05:12:34.840866"]]
|
647
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
648
|
+
Processing by FoosController#update as HTML
|
649
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
650
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
651
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
652
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
653
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
654
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
656
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
657
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:12:34.850033"], ["updated_at", "2014-09-12 05:12:34.850033"]]
|
658
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
659
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
660
|
+
Processing by FoosController#destroy as HTML
|
661
|
+
Parameters: {"id"=>"1"}
|
662
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
663
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
664
|
+
[1m[35mSQL (0.6ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
665
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
666
|
+
Redirected to http://test.host/foos
|
667
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
|
668
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
669
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
670
|
+
[1m[35m (0.1ms)[0m begin transaction
|
671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
672
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
674
|
+
Processing by FoosController#destroy as HTML
|
675
|
+
Parameters: {"id"=>"1"}
|
676
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
678
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680
|
+
Redirected to http://test.host/foos
|
681
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
|
682
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
683
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
684
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
685
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
686
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
687
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
688
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
689
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
690
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
691
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
693
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
694
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.2ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
700
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
701
|
+
[1m[35m (0.4ms)[0m begin transaction
|
702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
703
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
705
|
+
Processing by AdminFoosController#show as HTML
|
706
|
+
Parameters: {"id"=>"1"}
|
707
|
+
[1m[35mAdminFoo Load (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
710
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
724
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
732
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.208869"], ["updated_at", "2014-09-12 05:13:55.208869"]]
|
733
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
740
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
741
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
750
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.225127"], ["updated_at", "2014-09-12 05:13:55.225127"]]
|
751
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
755
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
756
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
757
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
758
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.239962"], ["updated_at", "2014-09-12 05:13:55.239962"]]
|
759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
760
|
+
Processing by FoosController#show as HTML
|
761
|
+
Parameters: {"id"=>"1"}
|
762
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
763
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
764
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
766
|
+
Processing by FoosController#new as HTML
|
767
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
771
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.257727"], ["updated_at", "2014-09-12 05:13:55.257727"]]
|
772
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
773
|
+
Processing by FoosController#edit as HTML
|
774
|
+
Parameters: {"id"=>"1"}
|
775
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
776
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
777
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
779
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "foos"
|
780
|
+
Processing by FoosController#create as HTML
|
781
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
782
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
783
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
785
|
+
Redirected to http://test.host/foos/1
|
786
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
787
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
788
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
790
|
+
Processing by FoosController#create as HTML
|
791
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
793
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
795
|
+
Redirected to http://test.host/foos/1
|
796
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
797
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
799
|
+
Processing by FoosController#create as HTML
|
800
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
801
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
802
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.300826"], ["updated_at", "2014-09-12 05:13:55.300826"]]
|
803
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
804
|
+
Redirected to http://test.host/foos/1
|
805
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
806
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
807
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
808
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
809
|
+
Processing by FoosController#create as HTML
|
810
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
812
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
813
|
+
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
814
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
816
|
+
Processing by FoosController#create as HTML
|
817
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
819
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
820
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
821
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
824
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.327434"], ["updated_at", "2014-09-12 05:13:55.327434"]]
|
825
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
826
|
+
Processing by FoosController#update as HTML
|
827
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
828
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
829
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
830
|
+
[1m[36mSQL (1.8ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:13:55.332876"]]
|
831
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
832
|
+
Redirected to http://test.host/foos/1
|
833
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
834
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
835
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
837
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
838
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.340075"], ["updated_at", "2014-09-12 05:13:55.340075"]]
|
839
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
840
|
+
Processing by FoosController#update as HTML
|
841
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
842
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
844
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
845
|
+
Redirected to http://test.host/foos/1
|
846
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
847
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
849
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
850
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.347504"], ["updated_at", "2014-09-12 05:13:55.347504"]]
|
851
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
852
|
+
Processing by FoosController#update as HTML
|
853
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
854
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
855
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
857
|
+
Redirected to http://test.host/foos/1
|
858
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
859
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
861
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
862
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.356226"], ["updated_at", "2014-09-12 05:13:55.356226"]]
|
863
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
864
|
+
Processing by FoosController#update as HTML
|
865
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
866
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
869
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
870
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
873
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.363968"], ["updated_at", "2014-09-12 05:13:55.363968"]]
|
874
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
875
|
+
Processing by FoosController#update as HTML
|
876
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
877
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
878
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
879
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
880
|
+
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
881
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
883
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
884
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:13:55.373992"], ["updated_at", "2014-09-12 05:13:55.373992"]]
|
885
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
886
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
887
|
+
Processing by FoosController#destroy as HTML
|
888
|
+
Parameters: {"id"=>"1"}
|
889
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
890
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
891
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
892
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
893
|
+
Redirected to http://test.host/foos
|
894
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
895
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
896
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
898
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
899
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
901
|
+
Processing by FoosController#destroy as HTML
|
902
|
+
Parameters: {"id"=>"1"}
|
903
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
905
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
906
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
907
|
+
Redirected to http://test.host/foos
|
908
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
|
909
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
910
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
911
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
912
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
913
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
914
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
915
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
916
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
917
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
918
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
919
|
+
[1m[35m (0.2ms)[0m begin transaction
|
920
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
921
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.2ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
927
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
929
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
930
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
932
|
+
Processing by AdminFoosController#show as HTML
|
933
|
+
Parameters: {"id"=>"1"}
|
934
|
+
[1m[35mAdminFoo Load (0.2ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
937
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
943
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
944
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
959
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.388799"], ["updated_at", "2014-09-12 05:14:53.388799"]]
|
960
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
967
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
968
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
976
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
977
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.407661"], ["updated_at", "2014-09-12 05:14:53.407661"]]
|
978
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.3ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
982
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
985
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.420533"], ["updated_at", "2014-09-12 05:14:53.420533"]]
|
986
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
987
|
+
Processing by FoosController#show as HTML
|
988
|
+
Parameters: {"id"=>"1"}
|
989
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
990
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
991
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
993
|
+
Processing by FoosController#new as HTML
|
994
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
995
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
998
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.435445"], ["updated_at", "2014-09-12 05:14:53.435445"]]
|
999
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1000
|
+
Processing by FoosController#edit as HTML
|
1001
|
+
Parameters: {"id"=>"1"}
|
1002
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1003
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
1004
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1006
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "foos"
|
1007
|
+
Processing by FoosController#create as HTML
|
1008
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1009
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1010
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1012
|
+
Redirected to http://test.host/foos/1
|
1013
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
|
1014
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1015
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1016
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1017
|
+
Processing by FoosController#create as HTML
|
1018
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1020
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1022
|
+
Redirected to http://test.host/foos/1
|
1023
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1024
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1026
|
+
Processing by FoosController#create as HTML
|
1027
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1028
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1029
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.484216"], ["updated_at", "2014-09-12 05:14:53.484216"]]
|
1030
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1031
|
+
Redirected to http://test.host/foos/1
|
1032
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1033
|
+
[1m[36mFoo Load (0.3ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
1034
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1036
|
+
Processing by FoosController#create as HTML
|
1037
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1038
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1039
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1040
|
+
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
1041
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1042
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1043
|
+
Processing by FoosController#create as HTML
|
1044
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1045
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1046
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1047
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
1048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1051
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.508074"], ["updated_at", "2014-09-12 05:14:53.508074"]]
|
1052
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1053
|
+
Processing by FoosController#update as HTML
|
1054
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
1055
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1057
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:14:53.511514"]]
|
1058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1059
|
+
Redirected to http://test.host/foos/1
|
1060
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
|
1061
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1062
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1064
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1065
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.518218"], ["updated_at", "2014-09-12 05:14:53.518218"]]
|
1066
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1067
|
+
Processing by FoosController#update as HTML
|
1068
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1069
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1070
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1071
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1072
|
+
Redirected to http://test.host/foos/1
|
1073
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1074
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1077
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.526094"], ["updated_at", "2014-09-12 05:14:53.526094"]]
|
1078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1079
|
+
Processing by FoosController#update as HTML
|
1080
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1081
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1083
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1084
|
+
Redirected to http://test.host/foos/1
|
1085
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1086
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1088
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1089
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.534182"], ["updated_at", "2014-09-12 05:14:53.534182"]]
|
1090
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1091
|
+
Processing by FoosController#update as HTML
|
1092
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1093
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1094
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1095
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1096
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
1097
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1098
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1100
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.541633"], ["updated_at", "2014-09-12 05:14:53.541633"]]
|
1101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1102
|
+
Processing by FoosController#update as HTML
|
1103
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1104
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1105
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1106
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1107
|
+
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)
|
1108
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1111
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:14:53.551103"], ["updated_at", "2014-09-12 05:14:53.551103"]]
|
1112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1113
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
1114
|
+
Processing by FoosController#destroy as HTML
|
1115
|
+
Parameters: {"id"=>"1"}
|
1116
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1118
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1119
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1120
|
+
Redirected to http://test.host/foos
|
1121
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1122
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1123
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1125
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1126
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1128
|
+
Processing by FoosController#destroy as HTML
|
1129
|
+
Parameters: {"id"=>"1"}
|
1130
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1132
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1133
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1134
|
+
Redirected to http://test.host/foos
|
1135
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
|
1136
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1137
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
1138
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1139
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1140
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1141
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1142
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1143
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
1144
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
1145
|
+
[1m[36mActiveRecord::SchemaMigration Load (4.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1147
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1148
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.2ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
1154
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1156
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1157
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1159
|
+
Processing by AdminFoosController#show as HTML
|
1160
|
+
Parameters: {"id"=>"1"}
|
1161
|
+
[1m[35mAdminFoo Load (0.2ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1164
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1185
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1186
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.257387"], ["updated_at", "2014-09-12 05:16:45.257387"]]
|
1187
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1204
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.279926"], ["updated_at", "2014-09-12 05:16:45.279926"]]
|
1205
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
1209
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1211
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1212
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.291261"], ["updated_at", "2014-09-12 05:16:45.291261"]]
|
1213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1214
|
+
Processing by FoosController#show as HTML
|
1215
|
+
Parameters: {"id"=>"1"}
|
1216
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1217
|
+
Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
1218
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1220
|
+
Processing by FoosController#new as HTML
|
1221
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1222
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1223
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1224
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1225
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.303940"], ["updated_at", "2014-09-12 05:16:45.303940"]]
|
1226
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1227
|
+
Processing by FoosController#edit as HTML
|
1228
|
+
Parameters: {"id"=>"1"}
|
1229
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1230
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
1231
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1233
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "foos"
|
1234
|
+
Processing by FoosController#create as HTML
|
1235
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1237
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1239
|
+
Redirected to http://test.host/foos/1
|
1240
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1241
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1242
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1244
|
+
Processing by FoosController#create as HTML
|
1245
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1246
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1247
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1249
|
+
Redirected to http://test.host/foos/1
|
1250
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
1251
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1253
|
+
Processing by FoosController#create as HTML
|
1254
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1256
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.339684"], ["updated_at", "2014-09-12 05:16:45.339684"]]
|
1257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1258
|
+
Redirected to http://test.host/foos/1
|
1259
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1260
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
1261
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1263
|
+
Processing by FoosController#create as HTML
|
1264
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1265
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1266
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1267
|
+
Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
1268
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
1269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1270
|
+
Processing by FoosController#create as HTML
|
1271
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1273
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1274
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
1275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1278
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.374859"], ["updated_at", "2014-09-12 05:16:45.374859"]]
|
1279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1280
|
+
Processing by FoosController#update as HTML
|
1281
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
1282
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1283
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1284
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:16:45.379243"]]
|
1285
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1286
|
+
Redirected to http://test.host/foos/1
|
1287
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
|
1288
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1289
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1292
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.386298"], ["updated_at", "2014-09-12 05:16:45.386298"]]
|
1293
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1294
|
+
Processing by FoosController#update as HTML
|
1295
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1296
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1299
|
+
Redirected to http://test.host/foos/1
|
1300
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1301
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1304
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.393699"], ["updated_at", "2014-09-12 05:16:45.393699"]]
|
1305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1306
|
+
Processing by FoosController#update as HTML
|
1307
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1308
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1309
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1311
|
+
Redirected to http://test.host/foos/1
|
1312
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1313
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1315
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1316
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.402047"], ["updated_at", "2014-09-12 05:16:45.402047"]]
|
1317
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1318
|
+
Processing by FoosController#update as HTML
|
1319
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1320
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1322
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1323
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
1324
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1326
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1327
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.411600"], ["updated_at", "2014-09-12 05:16:45.411600"]]
|
1328
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1329
|
+
Processing by FoosController#update as HTML
|
1330
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1331
|
+
[1m[36mFoo Load (0.0ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1332
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1333
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1334
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
1335
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1336
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1337
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1338
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:16:45.421046"], ["updated_at", "2014-09-12 05:16:45.421046"]]
|
1339
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1340
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
1341
|
+
Processing by FoosController#destroy as HTML
|
1342
|
+
Parameters: {"id"=>"1"}
|
1343
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1344
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1345
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1347
|
+
Redirected to http://test.host/foos
|
1348
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
|
1349
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1350
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1352
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1353
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1355
|
+
Processing by FoosController#destroy as HTML
|
1356
|
+
Parameters: {"id"=>"1"}
|
1357
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1359
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1361
|
+
Redirected to http://test.host/foos
|
1362
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1363
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1364
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "admin_foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
1365
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "bar" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1366
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1367
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1368
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1369
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
1370
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140912042735')[0m
|
1371
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140912040816')
|
1372
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1375
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mAdminFoo Load (0.1ms)[0m SELECT "admin_foos".* FROM "admin_foos"
|
1381
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1382
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1384
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1386
|
+
Processing by AdminFoosController#show as HTML
|
1387
|
+
Parameters: {"id"=>"1"}
|
1388
|
+
[1m[35mAdminFoo Load (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1391
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1397
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1398
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (7.4ms)[0m rollback transaction
|
1405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1412
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1413
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "admin_foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.247551"], ["updated_at", "2014-09-12 05:20:28.247551"]]
|
1414
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1422
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1430
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1431
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.266810"], ["updated_at", "2014-09-12 05:20:28.266810"]]
|
1432
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mFoo Load (0.2ms)[0m [1mSELECT "foos".* FROM "foos"[0m
|
1436
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1439
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.278303"], ["updated_at", "2014-09-12 05:20:28.278303"]]
|
1440
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1441
|
+
Processing by FoosController#show as HTML
|
1442
|
+
Parameters: {"id"=>"1"}
|
1443
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1444
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
1445
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1447
|
+
Processing by FoosController#new as HTML
|
1448
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1449
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1452
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.290723"], ["updated_at", "2014-09-12 05:20:28.290723"]]
|
1453
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1454
|
+
Processing by FoosController#edit as HTML
|
1455
|
+
Parameters: {"id"=>"1"}
|
1456
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1457
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
1458
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1460
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1461
|
+
Processing by FoosController#create as HTML
|
1462
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1463
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1464
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1466
|
+
Redirected to http://test.host/foos/1
|
1467
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1468
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1469
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1470
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1471
|
+
Processing by FoosController#create as HTML
|
1472
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1473
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1474
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1476
|
+
Redirected to http://test.host/foos/1
|
1477
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1478
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1480
|
+
Processing by FoosController#create as HTML
|
1481
|
+
Parameters: {"foo"=>{"bar"=>"cool"}}
|
1482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1483
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.319341"], ["updated_at", "2014-09-12 05:20:28.319341"]]
|
1484
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1485
|
+
Redirected to http://test.host/foos/1
|
1486
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1487
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" ORDER BY "foos"."id" DESC LIMIT 1[0m
|
1488
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1490
|
+
Processing by FoosController#create as HTML
|
1491
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1493
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1494
|
+
Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
1495
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1497
|
+
Processing by FoosController#create as HTML
|
1498
|
+
Parameters: {"foo"=>{"bar"=>""}}
|
1499
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1500
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1501
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
1502
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1503
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1505
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.342345"], ["updated_at", "2014-09-12 05:20:28.342345"]]
|
1506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1507
|
+
Processing by FoosController#update as HTML
|
1508
|
+
Parameters: {"foo"=>{"bar"=>"yay"}, "id"=>"1"}
|
1509
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1511
|
+
[1m[36mSQL (1.7ms)[0m [1mUPDATE "foos" SET "bar" = ?, "updated_at" = ? WHERE "foos"."id" = 1[0m [["bar", "yay"], ["updated_at", "2014-09-12 05:20:28.347053"]]
|
1512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1513
|
+
Redirected to http://test.host/foos/1
|
1514
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
1515
|
+
[1m[36mFoo Load (0.6ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1516
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1518
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1519
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.357408"], ["updated_at", "2014-09-12 05:20:28.357408"]]
|
1520
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1521
|
+
Processing by FoosController#update as HTML
|
1522
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1523
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1524
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
1525
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1526
|
+
Redirected to http://test.host/foos/1
|
1527
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
|
1528
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
1529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1530
|
+
[1m[35m (0.9ms)[0m SAVEPOINT active_record_1
|
1531
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.372926"], ["updated_at", "2014-09-12 05:20:28.372926"]]
|
1532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1533
|
+
Processing by FoosController#update as HTML
|
1534
|
+
Parameters: {"foo"=>{"bar"=>"cool"}, "id"=>"1"}
|
1535
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1536
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1538
|
+
Redirected to http://test.host/foos/1
|
1539
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1540
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1543
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.381948"], ["updated_at", "2014-09-12 05:20:28.381948"]]
|
1544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1545
|
+
Processing by FoosController#update as HTML
|
1546
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1547
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1548
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1549
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1550
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
1551
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1553
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1554
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.389488"], ["updated_at", "2014-09-12 05:20:28.389488"]]
|
1555
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1556
|
+
Processing by FoosController#update as HTML
|
1557
|
+
Parameters: {"foo"=>{"bar"=>""}, "id"=>"1"}
|
1558
|
+
[1m[36mFoo Load (0.1ms)[0m [1mSELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1[0m [["id", 1]]
|
1559
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1560
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1561
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1562
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1565
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "foos" ("bar", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["bar", "cool"], ["created_at", "2014-09-12 05:20:28.398025"], ["updated_at", "2014-09-12 05:20:28.398025"]]
|
1566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1567
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "foos"[0m
|
1568
|
+
Processing by FoosController#destroy as HTML
|
1569
|
+
Parameters: {"id"=>"1"}
|
1570
|
+
[1m[35mFoo Load (0.1ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1571
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1572
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1574
|
+
Redirected to http://test.host/foos
|
1575
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1576
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "foos"
|
1577
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1578
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1579
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1580
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1582
|
+
Processing by FoosController#destroy as HTML
|
1583
|
+
Parameters: {"id"=>"1"}
|
1584
|
+
[1m[35mFoo Load (0.0ms)[0m SELECT "foos".* FROM "foos" WHERE "foos"."id" = ? LIMIT 1 [["id", 1]]
|
1585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1586
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "foos" WHERE "foos"."id" = ? [["id", 1]]
|
1587
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1588
|
+
Redirected to http://test.host/foos
|
1589
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1590
|
+
[1m[35m (0.6ms)[0m rollback transaction
|