audit_rails 0.1.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +10 -8
- data/app/controllers/audit_rails/application_controller.rb +1 -15
- data/app/helpers/audit_rails/audits_helper.rb +16 -0
- data/lib/audit_rails/engine.rb +4 -0
- data/lib/audit_rails/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +78 -0
- data/spec/dummy/log/test.log +744 -0
- metadata +3 -2
data/README.rdoc
CHANGED
@@ -16,15 +16,15 @@ gem ‘audit_rails’
|
|
16
16
|
|
17
17
|
rails g audit_rails:install
|
18
18
|
|
19
|
-
|
19
|
+
== To add audit migration:
|
20
20
|
|
21
21
|
rake audit_rails:install:migrations
|
22
22
|
|
23
|
-
|
23
|
+
== Add audit.js to application.js file:
|
24
24
|
|
25
25
|
//= require audit_rails/audit
|
26
26
|
|
27
|
-
|
27
|
+
== To add additional attributes to Audit (let's say book_id):
|
28
28
|
1. Add attributes to migration generated from above rake task
|
29
29
|
2. Inherit from AuditRails::Audit:
|
30
30
|
#MyApp/app/models/audit.rb
|
@@ -36,17 +36,19 @@ rake audit_rails:install:migrations
|
|
36
36
|
belongs_to :book
|
37
37
|
end
|
38
38
|
|
39
|
-
|
39
|
+
== To log user events, simply call 'add_to_audit' with desired parameters in any controller (as this is now a helper method included in application_controller.rb of application)
|
40
40
|
|
41
|
-
|
41
|
+
== To override controller's add_to_audit method (or the helper method), simply re-implement in application_controller.rb
|
42
|
+
|
43
|
+
== To track user login (one per day), override current_user method in application controller, e.g.:
|
42
44
|
def current_user
|
43
45
|
add_to_audit('login', 'sessions', "John Smith")
|
44
46
|
super
|
45
47
|
end
|
46
48
|
|
47
|
-
|
49
|
+
== To see all audits go to <app-url>/audit_rails/audits
|
48
50
|
|
49
|
-
|
51
|
+
== To download the audit report as xls file:
|
50
52
|
* Add this to initializers/mime_types.rb
|
51
53
|
Mime::Type.register "application/vnd.ms-excel", :xls
|
52
54
|
|
@@ -54,7 +56,7 @@ rake audit_rails:install:migrations
|
|
54
56
|
link_to audit_rails.audits_path(:format => "xls")
|
55
57
|
|
56
58
|
= Changelog
|
57
|
-
https://github.com/gouravtiwari/audit_rails/blob/master/
|
59
|
+
https://github.com/gouravtiwari/audit_rails/blob/master/CHANGELOG.rdoc
|
58
60
|
|
59
61
|
= Contribute
|
60
62
|
|
@@ -1,20 +1,6 @@
|
|
1
1
|
module AuditRails
|
2
2
|
class ApplicationController < ActionController::Base
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
def add_to_audit(action_name=nil, controller_name=nil, user_name=nil, description=nil)
|
7
|
-
if action_name == "login"
|
8
|
-
if AuditRails::Audit.no_audit_entry_for_today?(action_name, user_name)
|
9
|
-
AuditRails::Audit.create(action: action_name, controller: controller_name, user_name: user_name, description: description)
|
10
|
-
end
|
11
|
-
else
|
12
|
-
AuditRails::Audit.create(action: action_name || request.params[:action],
|
13
|
-
controller: controller_name || request.params[:controller],
|
14
|
-
user_name: user_name,
|
15
|
-
description: description)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
4
|
+
include AuditRails::AuditsHelper
|
19
5
|
end
|
20
6
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module AuditRails
|
2
|
+
module AuditsHelper
|
3
|
+
def add_to_audit(action_name=nil, controller_name=nil, user_name=nil, description=nil)
|
4
|
+
if action_name == "login"
|
5
|
+
if AuditRails::Audit.no_audit_entry_for_today?(action_name, user_name)
|
6
|
+
AuditRails::Audit.create(action: action_name, controller: controller_name, user_name: user_name, description: description)
|
7
|
+
end
|
8
|
+
else
|
9
|
+
AuditRails::Audit.create(action: action_name || request.params[:action],
|
10
|
+
controller: controller_name || request.params[:controller],
|
11
|
+
user_name: user_name,
|
12
|
+
description: description)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/audit_rails/engine.rb
CHANGED
@@ -4,6 +4,10 @@ require 'to_xls'
|
|
4
4
|
module AuditRails
|
5
5
|
class Engine < ::Rails::Engine
|
6
6
|
isolate_namespace AuditRails
|
7
|
+
|
8
|
+
initializer "audit_rails.load_helpers" do |app|
|
9
|
+
ActionController::Base.send :include, AuditRails::AuditsHelper
|
10
|
+
end
|
7
11
|
|
8
12
|
config.generators do |g|
|
9
13
|
g.test_framework :rspec
|
data/lib/audit_rails/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -134,3 +134,81 @@ Connecting to database specified by database.yml
|
|
134
134
|
[1m[36m (2.6ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
135
135
|
[1m[35m (1.0ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
136
136
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
137
|
+
Connecting to database specified by database.yml
|
138
|
+
[1m[36m (3.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
139
|
+
[1m[35m (0.7ms)[0m select sqlite_version(*)
|
140
|
+
[1m[36m (2.0ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
141
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
142
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
143
|
+
Connecting to database specified by database.yml
|
144
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
145
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
146
|
+
[1m[36m (69.5ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
147
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
148
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
149
|
+
Connecting to database specified by database.yml
|
150
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
151
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
152
|
+
[1m[36m (3.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
153
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
154
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
155
|
+
Connecting to database specified by database.yml
|
156
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
157
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
158
|
+
[1m[36m (2.4ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
159
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
160
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
161
|
+
Connecting to database specified by database.yml
|
162
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
163
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
164
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
165
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
166
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
167
|
+
Connecting to database specified by database.yml
|
168
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
169
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
170
|
+
[1m[36m (3.3ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
171
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
172
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
173
|
+
Connecting to database specified by database.yml
|
174
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
175
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
176
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
177
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
178
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
179
|
+
Connecting to database specified by database.yml
|
180
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
181
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
182
|
+
[1m[36m (3.0ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
183
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
184
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
185
|
+
Connecting to database specified by database.yml
|
186
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
187
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
188
|
+
[1m[36m (3.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
189
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
190
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
191
|
+
Connecting to database specified by database.yml
|
192
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
193
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
194
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
195
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
196
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
197
|
+
Connecting to database specified by database.yml
|
198
|
+
[1m[36m (1.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
199
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
200
|
+
[1m[36m (102.3ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
201
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
202
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
203
|
+
Connecting to database specified by database.yml
|
204
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
205
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
206
|
+
[1m[36m (2.9ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
207
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
208
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
209
|
+
Connecting to database specified by database.yml
|
210
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
211
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
212
|
+
[1m[36m (3.3ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
213
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
214
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1072,3 +1072,747 @@ Processing by AnonymousController#login as HTML
|
|
1072
1072
|
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1073
1073
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1074
1074
|
[1m[35m (0.4ms)[0m rollback transaction
|
1075
|
+
Connecting to database specified by database.yml
|
1076
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1078
|
+
[1m[36mSQL (6.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-27 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1079
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1081
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-26 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1084
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-25 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1086
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1087
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1088
|
+
Rendered text template (0.0ms)
|
1089
|
+
Sent data audits.xls (10.4ms)
|
1090
|
+
Completed 200 OK in 48ms (Views: 10.2ms | ActiveRecord: 0.1ms)
|
1091
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1094
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-27 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1097
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-26 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged on at 2013-06-25 03:54:39 UTC"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1101
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1102
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1103
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1104
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
1105
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1107
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1111
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1113
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1115
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
1116
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1117
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1119
|
+
Processing by AnonymousController#login as HTML
|
1120
|
+
Parameters: {"id"=>"1"}
|
1121
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1122
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1123
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "Fake User"]]
|
1124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1125
|
+
Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
1126
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1127
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1130
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:54:39 UTC +00:00], ["user_name", "John Smith"]]
|
1131
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1132
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1133
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1135
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1137
|
+
Connecting to database specified by database.yml
|
1138
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1139
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1140
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1143
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "John Smith"]]
|
1144
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1145
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1146
|
+
[1m[36m (99.6ms)[0m [1mrollback transaction[0m
|
1147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1148
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
+
Rendered text template (0.0ms)
|
1153
|
+
Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.7ms)
|
1154
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1155
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1158
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-27 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1161
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-26 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1164
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-25 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1166
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1167
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1168
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
1169
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1171
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1172
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-27 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1173
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1175
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-26 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1176
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1178
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged on at 2013-06-25 03:57:26 UTC"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1181
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1182
|
+
Sent data audits.xls (0.4ms)
|
1183
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1184
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1186
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1188
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1190
|
+
Processing by AnonymousController#login as HTML
|
1191
|
+
Parameters: {"id"=>"1"}
|
1192
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1194
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:57:26 UTC +00:00], ["user_name", "Fake User"]]
|
1195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1196
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
1197
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1198
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1199
|
+
Connecting to database specified by database.yml
|
1200
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1201
|
+
Processing by AnonymousController#login as HTML
|
1202
|
+
Parameters: {"id"=>"1"}
|
1203
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1206
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1207
|
+
Rendered text template (0.0ms)
|
1208
|
+
Completed 200 OK in 58ms (Views: 35.9ms | ActiveRecord: 3.9ms)
|
1209
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1210
|
+
[1m[36m (2.5ms)[0m [1mrollback transaction[0m
|
1211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1212
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1217
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-27 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1218
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1220
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-26 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1221
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1222
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1223
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-25 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1225
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1226
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1227
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
1228
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1231
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-27 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1234
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-26 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1236
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1237
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", "User logged on at 2013-06-25 03:58:58 UTC"], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1238
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1239
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1240
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1241
|
+
Sent data audits.xls (0.9ms)
|
1242
|
+
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
1243
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1245
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1246
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1247
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "Fake User"]]
|
1248
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1249
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1250
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1251
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1253
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1254
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1256
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1257
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:58:58 UTC +00:00], ["user_name", "John Smith"]]
|
1258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1259
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1260
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1261
|
+
Connecting to database specified by database.yml
|
1262
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1264
|
+
[1m[36mSQL (5.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1267
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1270
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1272
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1273
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1274
|
+
Rendered text template (0.0ms)
|
1275
|
+
Sent data audits.xls (10.0ms)
|
1276
|
+
Completed 200 OK in 46ms (Views: 9.8ms | ActiveRecord: 0.1ms)
|
1277
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
1278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1280
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1283
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1286
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:12 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1288
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1289
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1290
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
1291
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1293
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1295
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1297
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1298
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1299
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1300
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1301
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1302
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1303
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1305
|
+
Processing by AnonymousController#login as HTML
|
1306
|
+
Parameters: {"id"=>"1"}
|
1307
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1309
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "Fake User"]]
|
1310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1311
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
1312
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1313
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1315
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1316
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:12 UTC +00:00], ["user_name", "John Smith"]]
|
1317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1318
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1319
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1321
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1323
|
+
Connecting to database specified by database.yml
|
1324
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1325
|
+
Processing by AnonymousController#login as HTML
|
1326
|
+
Parameters: {"id"=>"1"}
|
1327
|
+
[1m[35m (1.5ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1329
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1331
|
+
Rendered text template (0.0ms)
|
1332
|
+
Completed 200 OK in 56ms (Views: 34.1ms | ActiveRecord: 4.0ms)
|
1333
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1334
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
1335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1336
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1338
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1339
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1341
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1344
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1345
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1347
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1349
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1350
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1351
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
|
1352
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1354
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1355
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1358
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1361
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:36 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1363
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1364
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1365
|
+
Sent data audits.xls (0.4ms)
|
1366
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1367
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1369
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1371
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "Fake User"]]
|
1372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1373
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
1374
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1375
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1376
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1377
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1378
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1379
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1381
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:36 UTC +00:00], ["user_name", "John Smith"]]
|
1382
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1383
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1384
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1385
|
+
Connecting to database specified by database.yml
|
1386
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1387
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1388
|
+
[1m[36mSQL (5.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1389
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1391
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1392
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1393
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1394
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1395
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1396
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1397
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1398
|
+
Rendered text template (0.0ms)
|
1399
|
+
Sent data audits.xls (10.1ms)
|
1400
|
+
Completed 200 OK in 46ms (Views: 9.9ms | ActiveRecord: 0.1ms)
|
1401
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
1402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1404
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-27 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1405
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1407
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-26 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1408
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1410
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged on at 2013-06-25 03:59:51 UTC"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1412
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1413
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1414
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
1415
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1417
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1421
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1422
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1423
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1424
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1425
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1426
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1427
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1429
|
+
Processing by AnonymousController#login as HTML
|
1430
|
+
Parameters: {"id"=>"1"}
|
1431
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1433
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "Fake User"]]
|
1434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1435
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
1436
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1437
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1440
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 03:59:51 UTC +00:00], ["user_name", "John Smith"]]
|
1441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1442
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1443
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1444
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1445
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1447
|
+
Connecting to database specified by database.yml
|
1448
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1449
|
+
Processing by AnonymousController#login as HTML
|
1450
|
+
Parameters: {"id"=>"1"}
|
1451
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1453
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1455
|
+
Rendered text template (0.0ms)
|
1456
|
+
Completed 200 OK in 60ms (Views: 36.9ms | ActiveRecord: 4.1ms)
|
1457
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1458
|
+
[1m[36m (2.5ms)[0m [1mrollback transaction[0m
|
1459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1460
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1464
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "John Smith"]]
|
1465
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1466
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1467
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1473
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1474
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1475
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1476
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1477
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1478
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1479
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1481
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1482
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-27 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-26 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1488
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-25 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1489
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1490
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1491
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1492
|
+
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)
|
1493
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1494
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1496
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-27 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-26 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1502
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["description", "User logged on at 2013-06-25 04:01:18 UTC"], ["updated_at", Fri, 28 Jun 2013 04:01:18 UTC +00:00], ["user_name", "Fake User"]]
|
1503
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1504
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1505
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1506
|
+
Sent data audits.xls (0.4ms)
|
1507
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1508
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1509
|
+
Connecting to database specified by database.yml
|
1510
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1511
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1512
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1514
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1515
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "John Smith"]]
|
1516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1517
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1518
|
+
[1m[36m (100.0ms)[0m [1mrollback transaction[0m
|
1519
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1520
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1522
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1523
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1524
|
+
Rendered text template (0.0ms)
|
1525
|
+
Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.6ms)
|
1526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1527
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1529
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1530
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-27 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1531
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1533
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-26 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1534
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1536
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-25 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1538
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1539
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1540
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
1541
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1543
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1544
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-27 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1545
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1547
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-26 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged on at 2013-06-25 04:02:41 UTC"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1552
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1553
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1554
|
+
Sent data audits.xls (0.4ms)
|
1555
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1556
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1558
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1560
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1561
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1562
|
+
Processing by AnonymousController#login as HTML
|
1563
|
+
Parameters: {"id"=>"1"}
|
1564
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1565
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1566
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:02:41 UTC +00:00], ["user_name", "Fake User"]]
|
1567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1568
|
+
Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
1569
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1570
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1571
|
+
Connecting to database specified by database.yml
|
1572
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1573
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1574
|
+
[1m[36mSQL (5.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-27 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1575
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1577
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-26 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1579
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1580
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-25 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1581
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1582
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1583
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1584
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (2.3ms)
|
1585
|
+
Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.1ms)
|
1586
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
1587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1588
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1589
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-27 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1591
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1592
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-26 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1593
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1595
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged on at 2013-06-25 04:03:29 UTC"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1596
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1597
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1598
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1599
|
+
Sent data audits.xls (2.3ms)
|
1600
|
+
Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
1601
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1603
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1605
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1607
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1608
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1609
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1610
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1611
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1612
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1613
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1615
|
+
Processing by AnonymousController#login as HTML
|
1616
|
+
Parameters: {"id"=>"1"}
|
1617
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1619
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "Fake User"]]
|
1620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1621
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
1622
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1623
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1624
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1625
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1626
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1628
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1629
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:03:29 UTC +00:00], ["user_name", "John Smith"]]
|
1630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1631
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1632
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1633
|
+
Connecting to database specified by database.yml
|
1634
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1636
|
+
[1m[36mSQL (5.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-27 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1639
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-26 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1640
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-25 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1644
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1645
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1646
|
+
Rendered text template (0.0ms)
|
1647
|
+
Sent data audits.xls (10.1ms)
|
1648
|
+
Completed 200 OK in 48ms (Views: 9.9ms | ActiveRecord: 0.1ms)
|
1649
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
1650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1651
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1652
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-27 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1655
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-26 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1656
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1658
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged on at 2013-06-25 04:04:22 UTC"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1660
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1661
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1662
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
1663
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1665
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1666
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1667
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1669
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1670
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1671
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1672
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1673
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
1674
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1675
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1677
|
+
Processing by AnonymousController#login as HTML
|
1678
|
+
Parameters: {"id"=>"1"}
|
1679
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1681
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "Fake User"]]
|
1682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1683
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1684
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1685
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1687
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1688
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:04:22 UTC +00:00], ["user_name", "John Smith"]]
|
1689
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1690
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1691
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1693
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1695
|
+
Connecting to database specified by database.yml
|
1696
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1697
|
+
Processing by AnonymousController#login as HTML
|
1698
|
+
Parameters: {"id"=>"1"}
|
1699
|
+
[1m[35m (1.5ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1700
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1701
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1702
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1703
|
+
Rendered text template (0.0ms)
|
1704
|
+
Completed 200 OK in 58ms (Views: 35.7ms | ActiveRecord: 4.0ms)
|
1705
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1706
|
+
[1m[36m (99.6ms)[0m [1mrollback transaction[0m
|
1707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1708
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1709
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "John Smith"]]
|
1710
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1711
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1712
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1713
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1714
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1715
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1719
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1721
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1723
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1725
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1726
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1727
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1730
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-27 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1731
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1733
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-26 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1734
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1736
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-25 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1738
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1739
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1740
|
+
Sent data audits.xls (0.5ms)
|
1741
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1742
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1745
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-27 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1746
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1748
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-26 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1751
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["description", "User logged on at 2013-06-25 04:12:38 UTC"], ["updated_at", Fri, 28 Jun 2013 04:12:38 UTC +00:00], ["user_name", "Fake User"]]
|
1752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1753
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1754
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
1755
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
1756
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1757
|
+
Connecting to database specified by database.yml
|
1758
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1759
|
+
[1m[35m (1.5ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1760
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1763
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "John Smith"]]
|
1764
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1765
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1766
|
+
[1m[36m (99.8ms)[0m [1mrollback transaction[0m
|
1767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1768
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1769
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1770
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", nil], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1771
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1772
|
+
Rendered text template (0.0ms)
|
1773
|
+
Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.6ms)
|
1774
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')
|
1775
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1778
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-27 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1781
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-26 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1783
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-25 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1786
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1787
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1788
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
1789
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1792
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-27 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1793
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1794
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1795
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-26 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1796
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1798
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged on at 2013-06-25 04:16:13 UTC"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1799
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1800
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1801
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1802
|
+
Sent data audits.xls (0.4ms)
|
1803
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1804
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1806
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1807
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1808
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1810
|
+
Processing by AnonymousController#login as HTML
|
1811
|
+
Parameters: {"id"=>"1"}
|
1812
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 28 Jun 2013 04:16:13 UTC +00:00], ["user_name", "Fake User"]]
|
1815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1816
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1817
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-28 00:00:00.000000' AND '2013-06-28 23:59:59.999999')[0m
|
1818
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audit_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- app/controllers/audit_rails/application_controller.rb
|
91
91
|
- app/controllers/audit_rails/audits_controller.rb
|
92
92
|
- app/helpers/audit_rails/application_helper.rb
|
93
|
+
- app/helpers/audit_rails/audits_helper.rb
|
93
94
|
- app/models/audit_rails/audit.rb
|
94
95
|
- app/views/audit_rails/audits/index.html.erb
|
95
96
|
- app/views/layouts/audit_rails/application.html.erb
|