audit_rails 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.rdoc +3 -0
- data/app/controllers/audit_rails/audits_controller.rb +1 -0
- data/app/models/audit_rails/audit.rb +4 -0
- data/app/views/audit_rails/audits/analytics.html.erb +29 -4
- data/lib/audit_rails/version.rb +1 -1
- data/spec/controllers/audit_rails/audits_controller_spec.rb +4 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +18 -0
- data/spec/dummy/log/test.log +899 -0
- data/spec/models/audit_rails/audit_spec.rb +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDdkOGM2MzI0OWUzZTU3Y2YyODNkYTkxZjA3MDEzNmYwZjQ3Y2QyYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTA4ZDk1OWIwMzFhY2UwMTY3MTZkYWYyZjFmNTg1NTE3YTY2ZTlkMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjVhMDQyYjBlYjA4MmU3ZjJlOTM5ZDU0YjI2MTgyYTI0MGRiNmRlYWQ2M2M2
|
10
|
+
YjA1OWUwMDhhN2FmZGUwMzgwOGU4YmQ0NzllNWQ0OWQxYzE1NzU4MzJiMWI0
|
11
|
+
MzE2NGU3ZTU1MWIyMDZlOTBjZDhjZWRmNWE4MzQxYTY4Y2NhODc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2U2M2MzNWMzYTlkMTI3MTVlZTNiMzllMDhjZGUzYjFhYTYxOGRhNzBiMTkw
|
14
|
+
MjhhYzk0YWVhZGI1YWZmOGI5MDBhNGEyYmI3YzcxZTBjY2NmOGU4NjBlZGQ0
|
15
|
+
MGViZTgzZmVkMWE0OWI5OTQyYzRiN2UzZTk1ODEzZjkyMzVjZGY=
|
data/README.rdoc
CHANGED
@@ -62,6 +62,9 @@ Override current_user method in application controller, e.g.:
|
|
62
62
|
=== To see all audits
|
63
63
|
Go to <app-url>/audit_rails/audits
|
64
64
|
|
65
|
+
=== To see Analytics
|
66
|
+
Go to <app-url>/audit_rails/audits/analytics
|
67
|
+
|
65
68
|
=== To download the audit report as xls file:
|
66
69
|
* Add this to initializers/mime_types.rb
|
67
70
|
Mime::Type.register "application/vnd.ms-excel", :xls
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<%= javascript_include_tag "Chart.min"%>
|
2
|
-
<div id='analyticsByUser'>
|
2
|
+
<div id='analyticsByUser'>User clicks</div>
|
3
3
|
<br/>
|
4
|
-
<canvas id="
|
4
|
+
<canvas id="userViews" height="450" width="600"></canvas>
|
5
5
|
|
6
6
|
|
7
7
|
<script>
|
8
8
|
|
9
|
-
var
|
9
|
+
var barChartData = {
|
10
10
|
labels : <%= "#{@analysis_by_user_name.keys}".html_safe %>,
|
11
11
|
datasets : [
|
12
12
|
{
|
@@ -20,6 +20,31 @@
|
|
20
20
|
|
21
21
|
}
|
22
22
|
|
23
|
-
var
|
23
|
+
var myBar = new Chart(document.getElementById("userViews").getContext("2d")).Bar(barChartData);
|
24
|
+
|
25
|
+
</script>
|
26
|
+
|
27
|
+
<div id='analyticsByPage'>Page views</div>
|
28
|
+
<br/>
|
29
|
+
<canvas id="pageViews" height="450" width="600"></canvas>
|
30
|
+
|
31
|
+
|
32
|
+
<script>
|
33
|
+
|
34
|
+
var lineChartData = {
|
35
|
+
labels : <%= "#{@analysis_by_page_views.keys}".html_safe %>,
|
36
|
+
datasets : [
|
37
|
+
{
|
38
|
+
fillColor : "rgba(220,220,220,0.5)",
|
39
|
+
strokeColor : "rgba(220,220,220,1)",
|
40
|
+
pointColor : "rgba(220,220,220,1)",
|
41
|
+
pointStrokeColor : "#fff",
|
42
|
+
data : <%= @analysis_by_page_views.values %>
|
43
|
+
}
|
44
|
+
]
|
45
|
+
|
46
|
+
}
|
47
|
+
|
48
|
+
var myLine = new Chart(document.getElementById("pageViews").getContext("2d")).Line(lineChartData);
|
24
49
|
|
25
50
|
</script>
|
data/lib/audit_rails/version.rb
CHANGED
@@ -58,11 +58,13 @@ describe AuditRails::AuditsController do
|
|
58
58
|
context "GET analytics" do
|
59
59
|
it "shows analytics of audits on page" do
|
60
60
|
# list should be a hash
|
61
|
-
AuditRails::Audit.stub(:analysis_by_user_name).and_return(
|
61
|
+
AuditRails::Audit.stub(:analysis_by_user_name).and_return(user_list = {"Fake User"=>6, "John Smith"=>3})
|
62
|
+
AuditRails::Audit.stub(:analysis_by_page_views).and_return(page_list = {"visit-site"=>6, "login"=>3})
|
62
63
|
|
63
64
|
get 'analytics'
|
64
65
|
|
65
|
-
expect(assigns(:analysis_by_user_name)).to eq(
|
66
|
+
expect(assigns(:analysis_by_user_name)).to eq(user_list)
|
67
|
+
expect(assigns(:analysis_by_page_views)).to eq(page_list)
|
66
68
|
end
|
67
69
|
end
|
68
70
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -521,3 +521,21 @@ Connecting to database specified by database.yml
|
|
521
521
|
[1m[36m (100.4ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
522
522
|
[1m[35m (2.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)
|
523
523
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
524
|
+
Connecting to database specified by database.yml
|
525
|
+
[1m[36m (3.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
526
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
527
|
+
[1m[36m (1.4ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
528
|
+
[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)
|
529
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
530
|
+
Connecting to database specified by database.yml
|
531
|
+
[1m[36m (4.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
532
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
533
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
534
|
+
[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)
|
535
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
536
|
+
Connecting to database specified by database.yml
|
537
|
+
[1m[36m (3.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
538
|
+
[1m[35m (0.8ms)[0m select sqlite_version(*)
|
539
|
+
[1m[36m (1.6ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
540
|
+
[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)
|
541
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -3872,3 +3872,902 @@ Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
|
3872
3872
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3873
3873
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
3874
3874
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3875
|
+
Connecting to database specified by database.yml
|
3876
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3877
|
+
Processing by AnonymousController#login as HTML
|
3878
|
+
Parameters: {"id"=>"1"}
|
3879
|
+
[1m[35m (1.8ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
3880
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3881
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged in"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3882
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3883
|
+
Rendered text template (0.0ms)
|
3884
|
+
Completed 200 OK in 74ms (Views: 41.7ms | ActiveRecord: 5.2ms)
|
3885
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
3886
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3888
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3889
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-22 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3890
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3892
|
+
[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", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-21 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3894
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3895
|
+
[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", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-20 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3896
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3897
|
+
Processing by AuditRails::AuditsController#index as XLS
|
3898
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
3899
|
+
Sent data audits.xls (1.2ms)
|
3900
|
+
Completed 200 OK in 18ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
3901
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3904
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-22 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3907
|
+
[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", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-21 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3910
|
+
[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", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", "User logged on at 2013-09-20 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3912
|
+
Processing by AuditRails::AuditsController#index as HTML
|
3913
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
3914
|
+
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms)
|
3915
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3916
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3917
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
3918
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
3919
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3920
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3921
|
+
Processing by AuditRails::AuditsController#create as HTML
|
3922
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3923
|
+
[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", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3924
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3925
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
3926
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
3927
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3931
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3932
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3933
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3934
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3936
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "John Smith"]]
|
3937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3939
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3942
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "John Smith"]]
|
3943
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3944
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3945
|
+
[1m[36mSQL (21.9ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3948
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "John Smith"]]
|
3949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
|
3952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3953
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
3954
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3957
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "John Smith"]]
|
3958
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3959
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
3960
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3962
|
+
[1m[35m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
3963
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3964
|
+
Connecting to database specified by database.yml
|
3965
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3966
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3967
|
+
[1m[36mSQL (7.9ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-22 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3968
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3970
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-21 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3972
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3973
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-20 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3974
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3975
|
+
Processing by AuditRails::AuditsController#index as HTML
|
3976
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
3977
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (3.3ms)
|
3978
|
+
Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.1ms)
|
3979
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3981
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3982
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-22 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3983
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3985
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-21 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3988
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged on at 2013-09-20 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
3989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3990
|
+
Processing by AuditRails::AuditsController#index as XLS
|
3991
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
3992
|
+
Sent data audits.xls (2.6ms)
|
3993
|
+
Completed 200 OK in 16ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
3994
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3996
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
3997
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
3998
|
+
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
3999
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4000
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4001
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4003
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4004
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4005
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4007
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4009
|
+
[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", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
4010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4011
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
4012
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4013
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4014
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4015
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4017
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4018
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4019
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "John Smith"]]
|
4020
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4021
|
+
[1m[36m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4022
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4023
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4024
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4025
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "John Smith"]]
|
4026
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4028
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
4029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4031
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "John Smith"]]
|
4032
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4034
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
4035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4037
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "John Smith"]]
|
4038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4040
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
4041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4042
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
4043
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4044
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4045
|
+
Processing by AnonymousController#login as HTML
|
4046
|
+
Parameters: {"id"=>"1"}
|
4047
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4048
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4049
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["description", "User logged in"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
|
4050
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4051
|
+
Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)
|
4052
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4053
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4054
|
+
Connecting to database specified by database.yml
|
4055
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4056
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4058
|
+
[1m[36mSQL (12.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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4060
|
+
Rendered text template (0.0ms)
|
4061
|
+
Completed 200 OK in 71ms (Views: 17.8ms | ActiveRecord: 15.3ms)
|
4062
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4063
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4065
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4066
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-22 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4067
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4069
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-21 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4070
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4072
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-20 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4073
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4074
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4075
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4076
|
+
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.2ms)
|
4077
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4079
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4080
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-22 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4083
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-21 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4085
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4086
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged on at 2013-09-20 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4087
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4088
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4089
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4090
|
+
Sent data audits.xls (0.8ms)
|
4091
|
+
Completed 200 OK in 48ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
4092
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
4093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4094
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4096
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4100
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4101
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4102
|
+
Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
4103
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4105
|
+
Processing by AnonymousController#login as HTML
|
4106
|
+
Parameters: {"id"=>"1"}
|
4107
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4109
|
+
[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", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", "User logged in"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4111
|
+
Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)
|
4112
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4113
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4115
|
+
[1m[35m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4116
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4119
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "John Smith"]]
|
4120
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4121
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4122
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4124
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4125
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "John Smith"]]
|
4126
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4127
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4128
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4129
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4130
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4131
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "John Smith"]]
|
4132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4134
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4135
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4137
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "John Smith"]]
|
4138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
|
4141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4142
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4143
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4144
|
+
Connecting to database specified by database.yml
|
4145
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
4146
|
+
[1m[35m (2.9ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4147
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4150
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4151
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4152
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4153
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4156
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4159
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4160
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4162
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4164
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4165
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4167
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4168
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4169
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4171
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4172
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4173
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4174
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4177
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4178
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4180
|
+
[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", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4181
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4182
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4183
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4185
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4186
|
+
[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", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4187
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4188
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4189
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "John Smith"]]
|
4190
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4192
|
+
[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", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:11 UTC +00:00], ["user_name", "Fake User"]]
|
4193
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4194
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4195
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4196
|
+
Connecting to database specified by database.yml
|
4197
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
4198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4199
|
+
[1m[36mSQL (12.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4201
|
+
[1m[36m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4202
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4204
|
+
[1m[35m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4207
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4208
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4209
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4210
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4211
|
+
[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", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4212
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4213
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4214
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4215
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4216
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4217
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4218
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4219
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4220
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4221
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4222
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4223
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4225
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
4226
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4229
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4230
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4231
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4232
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4233
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4234
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4235
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4236
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4238
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4240
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4241
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
|
4242
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4244
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
|
4245
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4246
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
4247
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4248
|
+
Connecting to database specified by database.yml
|
4249
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4250
|
+
Processing by AnonymousController#login as HTML
|
4251
|
+
Parameters: {"id"=>"1"}
|
4252
|
+
[1m[35m (2.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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4254
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged in"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4255
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4256
|
+
Rendered text template (0.0ms)
|
4257
|
+
Completed 200 OK in 80ms (Views: 18.5ms | ActiveRecord: 5.5ms)
|
4258
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4259
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4261
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4264
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4265
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4266
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4267
|
+
[1m[36m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4268
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4271
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4272
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4274
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4275
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4276
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4277
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4278
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4279
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4280
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4281
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4283
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4286
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4287
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4288
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4289
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4291
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4292
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4293
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4295
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4297
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4298
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4299
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4300
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4301
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4304
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "John Smith"]]
|
4305
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4306
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4307
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4309
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4310
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4312
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4314
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4315
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4316
|
+
Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.6ms)
|
4317
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4318
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4320
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4321
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4322
|
+
Completed 200 OK in 36ms (Views: 33.5ms | ActiveRecord: 0.2ms)
|
4323
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4325
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4326
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-22 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4327
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4329
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-21 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4330
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4332
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-20 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4334
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4335
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
4336
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
4337
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4339
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4340
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-22 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4343
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-21 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4344
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4345
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4346
|
+
[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", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["description", "User logged on at 2013-09-20 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
|
4347
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4348
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4349
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
4350
|
+
Sent data audits.xls (0.6ms)
|
4351
|
+
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
4352
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
4353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4354
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4358
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4359
|
+
Connecting to database specified by database.yml
|
4360
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4361
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4362
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/analytics.html.erb within layouts/audit_rails/application (4.1ms)
|
4363
|
+
Completed 200 OK in 47ms (Views: 46.6ms | ActiveRecord: 0.0ms)
|
4364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4366
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4367
|
+
[1m[36mSQL (9.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4368
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4369
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4370
|
+
[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", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4371
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4372
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4373
|
+
[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", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4374
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4375
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4376
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4377
|
+
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms)
|
4378
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4381
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4384
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4385
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4386
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4387
|
+
[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", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4388
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4389
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4390
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4391
|
+
Sent data audits.xls (3.5ms)
|
4392
|
+
Completed 200 OK in 18ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
4393
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4395
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4397
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
|
4398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4399
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 1.0ms)
|
4400
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4401
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4403
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4405
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4407
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4408
|
+
Connecting to database specified by database.yml
|
4409
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4410
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4411
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4412
|
+
[1m[36mSQL (10.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Mon, 23 Sep 2013 18:20:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:30 UTC +00:00], ["user_name", "Fake User"]]
|
4413
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4414
|
+
Rendered text template (0.0ms)
|
4415
|
+
Completed 200 OK in 64ms (Views: 37.6ms | ActiveRecord: 12.9ms)
|
4416
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4417
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4420
|
+
[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", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4421
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4423
|
+
[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", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4424
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4425
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4426
|
+
[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", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4427
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4428
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4429
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4430
|
+
Sent data audits.xls (0.6ms)
|
4431
|
+
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
4432
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4434
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4435
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4436
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4437
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4438
|
+
[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", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4439
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4441
|
+
[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", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
|
4442
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4443
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4444
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4445
|
+
Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.2ms)
|
4446
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4447
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4452
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4454
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4455
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
4456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4457
|
+
Connecting to database specified by database.yml
|
4458
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4459
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4463
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4465
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4466
|
+
[1m[36mSQL (7.8ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4467
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4468
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4469
|
+
[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", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4472
|
+
[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", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4474
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4475
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4476
|
+
Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.2ms)
|
4477
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4479
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4480
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-22 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4481
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4483
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-21 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4484
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4485
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4486
|
+
[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", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["description", "User logged on at 2013-09-20 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
|
4487
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4488
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4489
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4490
|
+
Sent data audits.xls (3.8ms)
|
4491
|
+
Completed 200 OK in 22ms (Views: 3.6ms | ActiveRecord: 0.2ms)
|
4492
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4494
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4496
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Mon, 23 Sep 2013 18:20:44 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:44 UTC +00:00], ["user_name", "Fake User"]]
|
4497
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4498
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.7ms)
|
4499
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4500
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4502
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4503
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
4504
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4505
|
+
Connecting to database specified by database.yml
|
4506
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
4507
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4508
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4509
|
+
[1m[36mSQL (8.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4510
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4511
|
+
Rendered text template (0.0ms)
|
4512
|
+
Completed 200 OK in 64ms (Views: 40.0ms | ActiveRecord: 10.8ms)
|
4513
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4514
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4516
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4517
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-22 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4520
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-21 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4523
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-20 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4525
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4526
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4527
|
+
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.2ms)
|
4528
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4530
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4531
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-22 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4533
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4534
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-21 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4535
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4537
|
+
[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", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["description", "User logged on at 2013-09-20 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
|
4538
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4539
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4540
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4541
|
+
Sent data audits.xls (0.6ms)
|
4542
|
+
Completed 200 OK in 38ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
4543
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4544
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4545
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4547
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4549
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4551
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4552
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
4553
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4554
|
+
Connecting to database specified by database.yml
|
4555
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
4556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4557
|
+
[1m[36mSQL (12.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4558
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4559
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4560
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4561
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4562
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4563
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4565
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4566
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4567
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4568
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4569
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4570
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4571
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4572
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4574
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4575
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4577
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4578
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4579
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4581
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4582
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4584
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4587
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4590
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4592
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4593
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4594
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4595
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4596
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4598
|
+
[1m[35m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4599
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4601
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4602
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "John Smith"]]
|
4603
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4604
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4605
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4607
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4609
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4610
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4611
|
+
Rendered text template (0.0ms)
|
4612
|
+
Completed 200 OK in 23ms (Views: 18.8ms | ActiveRecord: 0.7ms)
|
4613
|
+
[1m[35m (0.2ms)[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')
|
4614
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4618
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4619
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4620
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4622
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4623
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-22 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4624
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4626
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-21 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4627
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4629
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-20 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4631
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4632
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
4633
|
+
Completed 200 OK in 37ms (Views: 34.8ms | ActiveRecord: 0.1ms)
|
4634
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4635
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4636
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4637
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-22 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4638
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4640
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-21 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4641
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4642
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4643
|
+
[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", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged on at 2013-09-20 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4644
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4645
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4646
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
4647
|
+
Sent data audits.xls (0.7ms)
|
4648
|
+
Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
4649
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4650
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4651
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4652
|
+
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
4653
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4654
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4655
|
+
Processing by AnonymousController#login as HTML
|
4656
|
+
Parameters: {"id"=>"1"}
|
4657
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4659
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["description", "User logged in"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
|
4660
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4661
|
+
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)
|
4662
|
+
[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-09-23 00:00:00.000000' AND '2013-09-23 23:59:59.999999')[0m
|
4663
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4664
|
+
Connecting to database specified by database.yml
|
4665
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4666
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4667
|
+
[1m[36mSQL (6.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-23 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4668
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4670
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-22 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4671
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4673
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-21 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4675
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4676
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4677
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (2.6ms)
|
4678
|
+
Completed 200 OK in 33ms (Views: 31.0ms | ActiveRecord: 0.1ms)
|
4679
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4681
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4682
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-23 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4683
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4684
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4685
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-22 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4686
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4688
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged on at 2013-09-21 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4690
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4691
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4692
|
+
Sent data audits.xls (2.3ms)
|
4693
|
+
Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
4694
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4696
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4697
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4698
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4699
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4700
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
4701
|
+
[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-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')[0m
|
4702
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4703
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4706
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4708
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4710
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4711
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
4712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4714
|
+
Processing by AnonymousController#login as HTML
|
4715
|
+
Parameters: {"id"=>"1"}
|
4716
|
+
[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-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4717
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4718
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", "User logged in"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4719
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4720
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
4721
|
+
[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-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4722
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4725
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4728
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4731
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4733
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4734
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4737
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4740
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4743
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4745
|
+
[1m[35m (0.1ms)[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-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4746
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4747
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4749
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4751
|
+
[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-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4752
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4754
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4755
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4758
|
+
[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", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4759
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4761
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4764
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4765
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4766
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4767
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "John Smith"]]
|
4768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4770
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
|
4771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4772
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
4773
|
+
[1m[35m (0.4ms)[0m rollback transaction
|