audit_rails 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -7
- data/app/models/audit_rails/audit.rb +4 -2
- data/lib/audit_rails/version.rb +1 -1
- data/spec/dummy/log/test.log +543 -0
- data/spec/helpers/audit_rails/audits_helper_spec.rb +11 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a605ce6f8dbf452f1bdc812de6db0ac790fa6b
|
4
|
+
data.tar.gz: 43ac621d3ef32c22c187fe76c356521af645291a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f57299e2730aa8d553dedad17e94d0786d64143e7291505070a7212aa15ade2e25b87e482508c8208a80c83c3f1ef76c926daed01bb074abedbb4abe8f47fdc
|
7
|
+
data.tar.gz: 4e21a0a5ac4010951cb3327a8f017c822ff8ad51e29f1248b6964c58227a2d85280f42be4dfdb9664ecfacf908d94e25eb36b3fd8ba3a5879e76028a339a3955
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
## AuditRails
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/audit_rails.png)](http://badge.fury.io/rb/audit_rails)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/audit_rails.png)](http://badge.fury.io/rb/audit_rails)[![Build Status](https://travis-ci.org/gouravtiwari/audit_rails.png?branch=master)](https://travis-ci.org/gouravtiwari/audit_rails)[![Coverage Status](https://coveralls.io/repos/gouravtiwari/audit_rails/badge.png?branch=master)](https://coveralls.io/r/gouravtiwari/audit_rails?branch=master)
|
3
3
|
|
4
4
|
An action based auditor, which has internal as well as outgoing link tracking.
|
5
5
|
|
@@ -10,13 +10,8 @@ Roughly it is doing similar to what Omniture does, but has very minimum features
|
|
10
10
|
Now also has analytics(charts) for User counts
|
11
11
|
|
12
12
|
#### User visit & page view count by date range:
|
13
|
-
![Audits](https://github.com/gouravtiwari/audit_rails/raw/master/docs/audit-rails.png)
|
13
|
+
![Audits](https://github.com/gouravtiwari/audit_rails/raw/master/docs/audit-rails.png)
|
14
14
|
|
15
|
-
![User visit](https://github.com/gouravtiwari/audit_rails/raw/master/docs/user-clicks.png)
|
16
|
-
![Page Views](https://github.com/gouravtiwari/audit_rails/raw/master/docs/page-views.png)
|
17
|
-
|
18
|
-
### Build Status
|
19
|
-
[![Build Status](https://travis-ci.org/gouravtiwari/audit_rails.png?branch=master)](https://travis-ci.org/gouravtiwari/audit_rails)[![Coverage Status](https://coveralls.io/repos/gouravtiwari/audit_rails/badge.png?branch=master)](https://coveralls.io/r/gouravtiwari/audit_rails?branch=master)
|
20
15
|
|
21
16
|
### Pre-requisites:
|
22
17
|
For rails 4.0 & 3.2.6 + and ruby>1.9.2:
|
@@ -17,6 +17,8 @@ module AuditRails
|
|
17
17
|
}
|
18
18
|
|
19
19
|
scope :reverse_chronological, ->{order('created_at DESC')}
|
20
|
+
scope :group_by_controller_action, ->{group([:controller, :action])}
|
21
|
+
scope :group_by_user_name, ->{group('user_name')}
|
20
22
|
|
21
23
|
def self.no_audit_entry_for_today?(action_name, user_name)
|
22
24
|
audits = where(action: action_name, user_name: user_name,
|
@@ -26,11 +28,11 @@ module AuditRails
|
|
26
28
|
end
|
27
29
|
|
28
30
|
def self.analysis_by_user_name
|
29
|
-
count
|
31
|
+
group_by_user_name.count
|
30
32
|
end
|
31
33
|
|
32
34
|
def self.analysis_by_page_views
|
33
|
-
count
|
35
|
+
group_by_controller_action.count
|
34
36
|
end
|
35
37
|
end
|
36
38
|
end
|
data/lib/audit_rails/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -16234,3 +16234,546 @@ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
|
16234
16234
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16235
16235
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
16236
16236
|
[1m[35m (0.0ms)[0m rollback transaction
|
16237
|
+
Connecting to database specified by database.yml
|
16238
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16239
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16240
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 28 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-28 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16243
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Sun, 27 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-27 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16246
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Sat, 26 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-26 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16248
|
+
Processing by AuditRails::AuditsController#index as HTML
|
16249
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (0.0ms)
|
16250
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16251
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16252
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16255
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 28 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-28 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16258
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Sun, 27 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-27 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16259
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16260
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16261
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Sat, 26 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged on at 2013-10-26 17:19:57 UTC"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16262
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16263
|
+
Processing by AuditRails::AuditsController#index as XLS
|
16264
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16265
|
+
Sent data audits.xls (0.0ms)
|
16266
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16269
|
+
Processing by AuditRails::AuditsController#create as HTML
|
16270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16271
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16273
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16274
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16275
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16277
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16283
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
16284
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits"
|
16285
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16286
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16288
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16289
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16290
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16292
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16293
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16294
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16295
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16296
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16298
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:19:57.242980' WHERE "audit_rails_audits"."id" = 1[0m
|
16299
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16300
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16301
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:19:57.242980' WHERE "audit_rails_audits"."id" = 2
|
16302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16304
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:19:57.242980' WHERE "audit_rails_audits"."id" = 3[0m
|
16305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16306
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-10-25 00:00:00.000000' AND '2013-10-28 23:59:59.999999')[0m
|
16307
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16310
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16311
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16312
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16313
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16314
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16315
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16316
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16317
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16318
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16319
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:19:57.256574' WHERE "audit_rails_audits"."id" = 1
|
16320
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16322
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:19:57.256574' WHERE "audit_rails_audits"."id" = 2[0m
|
16323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16325
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:19:57.256574' WHERE "audit_rails_audits"."id" = 3
|
16326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16327
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-10-29 23:59:59.999999')
|
16328
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16331
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16334
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16335
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16336
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16337
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16338
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16339
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16340
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:19:57.269215' WHERE "audit_rails_audits"."id" = 1[0m
|
16341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16342
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16343
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:19:57.269215' WHERE "audit_rails_audits"."id" = 2
|
16344
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16346
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:19:57.269215' WHERE "audit_rails_audits"."id" = 3[0m
|
16347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16348
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-10-25 00:00:00.000000' AND '2013-10-28 23:59:59.999999')[0m
|
16349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16352
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16353
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16354
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16355
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16358
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16361
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16364
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16367
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16369
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
16370
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16372
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16376
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16378
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16379
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16380
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16382
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16385
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16388
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16391
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16392
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16393
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16394
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "John Smith"]]
|
16395
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16396
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16397
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16398
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16399
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
16400
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16402
|
+
Processing by AnonymousController#login as HTML
|
16403
|
+
Parameters: {"id"=>"1"}
|
16404
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16405
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16406
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["description", "User logged in"], ["updated_at", Tue, 29 Oct 2013 17:19:57 UTC +00:00], ["user_name", "Fake User"]]
|
16407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16408
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16409
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16410
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16411
|
+
Connecting to database specified by database.yml
|
16412
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16413
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16414
|
+
Connecting to database specified by database.yml
|
16415
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16416
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16417
|
+
Connecting to database specified by database.yml
|
16418
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16420
|
+
Connecting to database specified by database.yml
|
16421
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16422
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16423
|
+
Connecting to database specified by database.yml
|
16424
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16425
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16426
|
+
Connecting to database specified by database.yml
|
16427
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16429
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 28 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-28 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16430
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16431
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16432
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Sun, 27 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-27 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16433
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16435
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Sat, 26 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-26 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16436
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16437
|
+
Processing by AuditRails::AuditsController#index as XLS
|
16438
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16439
|
+
Rendered text template (0.0ms)
|
16440
|
+
Sent data audits.xls (0.0ms)
|
16441
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16442
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16444
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16445
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 28 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-28 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16446
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16447
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16448
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Sun, 27 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-27 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16451
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Sat, 26 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged on at 2013-10-26 17:29:09 UTC"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16453
|
+
Processing by AuditRails::AuditsController#index as HTML
|
16454
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16455
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16458
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16460
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16461
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16462
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16464
|
+
Processing by AuditRails::AuditsController#create as HTML
|
16465
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16466
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16467
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16468
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16469
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16470
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16472
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
16473
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits"
|
16474
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16475
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16476
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16477
|
+
Processing by AnonymousController#login as HTML
|
16478
|
+
Parameters: {"id"=>"1"}
|
16479
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16481
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", "User logged in"], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16483
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16484
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16485
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16487
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16488
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16489
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16490
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16491
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16493
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16496
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16499
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:29:09.566676' WHERE "audit_rails_audits"."id" = 1
|
16500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16502
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:29:09.566676' WHERE "audit_rails_audits"."id" = 2[0m
|
16503
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16505
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:29:09.566676' WHERE "audit_rails_audits"."id" = 3
|
16506
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16507
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-10-25 00:00:00.000000' AND '2013-10-28 23:59:59.999999')
|
16508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16509
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16510
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16511
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16514
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16515
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16517
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16518
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16520
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:29:09.585287' WHERE "audit_rails_audits"."id" = 1[0m
|
16521
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16523
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:29:09.585287' WHERE "audit_rails_audits"."id" = 2
|
16524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16526
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:29:09.585287' WHERE "audit_rails_audits"."id" = 3[0m
|
16527
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16528
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-10-25 00:00:00.000000' AND '2013-10-28 23:59:59.999999')[0m
|
16529
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16530
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16531
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16532
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16533
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16535
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16538
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16541
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-27 17:29:09.601727' WHERE "audit_rails_audits"."id" = 1
|
16542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16544
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-10-26 17:29:09.601727' WHERE "audit_rails_audits"."id" = 2[0m
|
16545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16547
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-10-24 17:29:09.601727' WHERE "audit_rails_audits"."id" = 3
|
16548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16549
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-10-29 23:59:59.999999')
|
16550
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16553
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16555
|
+
[1m[35m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')
|
16556
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16558
|
+
[1m[36m (0.0ms)[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-10-29 00:00:00.000000' AND '2013-10-29 23:59:59.999999')[0m
|
16559
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
16561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16562
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16565
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16568
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16571
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16574
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16577
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16579
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
16580
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16583
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16586
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16589
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16592
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16595
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "John Smith"]]
|
16596
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16598
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Oct 2013 17:29:09 UTC +00:00], ["user_name", "Fake User"]]
|
16599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16600
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
16601
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16602
|
+
Connecting to database specified by database.yml
|
16603
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16604
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16605
|
+
Connecting to database specified by database.yml
|
16606
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16609
|
+
Processing by AnonymousController#login as HTML
|
16610
|
+
Parameters: {"id"=>"1"}
|
16611
|
+
[1m[35m (0.0ms)[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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16613
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged in"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16615
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16616
|
+
[1m[35m (0.0ms)[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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16618
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16619
|
+
Processing by AuditRails::AuditsController#create as HTML
|
16620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16621
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16623
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16624
|
+
[1m[35m (0.0ms)[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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16625
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16627
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16628
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16629
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16633
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16634
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-08 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16635
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16636
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16637
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-07 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16638
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16640
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-06 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16642
|
+
Processing by AuditRails::AuditsController#index as HTML
|
16643
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16644
|
+
[1m[35mAuditRails::Audit Load (0.0ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
|
16645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16648
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-08 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16651
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-07 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16654
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:43:11 UTC +00:00], ["description", "User logged on at 2013-11-06 07:43:11 UTC"], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16656
|
+
Processing by AuditRails::AuditsController#index as XLS
|
16657
|
+
[1m[35mAuditRails::Audit Load (0.0ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
|
16658
|
+
Sent data audits.xls (0.0ms)
|
16659
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16662
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
16663
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" [0m
|
16664
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16665
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16668
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16671
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16674
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16675
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16677
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16679
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16680
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16681
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16682
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16683
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16685
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
16686
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16688
|
+
[1m[36m (0.0ms)[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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16689
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16690
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16692
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16694
|
+
[1m[36m (0.0ms)[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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16695
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16698
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16699
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16701
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16702
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16704
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16707
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:43:11.466667' WHERE "audit_rails_audits"."id" = 1
|
16708
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16709
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16710
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:43:11.466667' WHERE "audit_rails_audits"."id" = 2[0m
|
16711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16713
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:43:11.466667' WHERE "audit_rails_audits"."id" = 3
|
16714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16715
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
16716
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16719
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16722
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16725
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16728
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:43:11.480321' WHERE "audit_rails_audits"."id" = 1[0m
|
16729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16731
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:43:11.480321' WHERE "audit_rails_audits"."id" = 2
|
16732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16733
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16734
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:43:11.480321' WHERE "audit_rails_audits"."id" = 3[0m
|
16735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16736
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16740
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16743
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16745
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16746
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16749
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:43:11.490926' WHERE "audit_rails_audits"."id" = 1
|
16750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16751
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16752
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:43:11.490926' WHERE "audit_rails_audits"."id" = 2[0m
|
16753
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16754
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16755
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:43:11.490926' WHERE "audit_rails_audits"."id" = 3
|
16756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16757
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
16758
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16761
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16764
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16765
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16766
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16767
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16770
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16772
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16773
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "John Smith"]]
|
16774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16776
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:43:11 UTC +00:00], ["user_name", "Fake User"]]
|
16777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16778
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller, action AS controller_action FROM "audit_rails_audits" GROUP BY controller, action[0m
|
16779
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AuditRails::AuditsHelper do
|
4
|
+
context 'active_class' do
|
5
|
+
it 'should return "active" when current action is "analytics"' do
|
6
|
+
controller.should_receive(:action_name).and_return('analytics')
|
7
|
+
|
8
|
+
helper.active_class('analytics').should eq('active')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audit_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gourav Tiwari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -295,6 +295,7 @@ files:
|
|
295
295
|
- spec/dummy/Rakefile
|
296
296
|
- spec/dummy/README.rdoc
|
297
297
|
- spec/dummy/script/rails
|
298
|
+
- spec/helpers/audit_rails/audits_helper_spec.rb
|
298
299
|
- spec/models/audit_rails/audit_spec.rb
|
299
300
|
- spec/spec_helper.rb
|
300
301
|
homepage: https://github.com/gouravtiwari/audit_rails
|
@@ -357,5 +358,6 @@ test_files:
|
|
357
358
|
- spec/dummy/Rakefile
|
358
359
|
- spec/dummy/README.rdoc
|
359
360
|
- spec/dummy/script/rails
|
361
|
+
- spec/helpers/audit_rails/audits_helper_spec.rb
|
360
362
|
- spec/models/audit_rails/audit_spec.rb
|
361
363
|
- spec/spec_helper.rb
|