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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjIwMTdhZmQ0ZDQ5NGI4MjQ3YzY1NzJhMDY4MWIxZThhNGRhMmQ2NA==
4
+ NDdkOGM2MzI0OWUzZTU3Y2YyODNkYTkxZjA3MDEzNmYwZjQ3Y2QyYw==
5
5
  data.tar.gz: !binary |-
6
- NTRlYjU3NWZhMmM0YzRmY2RiOGY0ZGZiYjhjYzg4NTMxODZkMjBhOQ==
6
+ NTA4ZDk1OWIwMzFhY2UwMTY3MTZkYWYyZjFmNTg1NTE3YTY2ZTlkMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2JkYTRkYWEwYzdmZmYxNjQwNzM5OTI1YmQ4ZTM0MTg2NjRjNjBhYjk3YjQy
10
- ZDVmNGZiNDc5NTYzYzBmZjJiMDIyY2QxOWIzMjcyNDAxNDYyYTQ0Y2U3YjZk
11
- MWY4YjliNzIwOGY1OTY5ZmFmZjBhMmEzYWI4ZDU4ODVhZDRhY2Q=
9
+ ZjVhMDQyYjBlYjA4MmU3ZjJlOTM5ZDU0YjI2MTgyYTI0MGRiNmRlYWQ2M2M2
10
+ YjA1OWUwMDhhN2FmZGUwMzgwOGU4YmQ0NzllNWQ0OWQxYzE1NzU4MzJiMWI0
11
+ MzE2NGU3ZTU1MWIyMDZlOTBjZDhjZWRmNWE4MzQxYTY4Y2NhODc=
12
12
  data.tar.gz: !binary |-
13
- OWI4YjkxNmQ3N2FkMmViODg5Nzk4ZjQ2Y2E3ZDU2ZjgzMDMxNDlhMGY5ZTdk
14
- MjY2Yzk1MThlODZlNjM4ZjM2MTFiOGE0OTI0MTc3Y2NiYmM1NmI0MmZiMDY2
15
- OTVmZTQxMjM4YzBmMjRhNzIyYmY3ZmVhNjYwMTk0OTJlYmEyNzM=
13
+ Y2U2M2MzNWMzYTlkMTI3MTVlZTNiMzllMDhjZGUzYjFhYTYxOGRhNzBiMTkw
14
+ MjhhYzk0YWVhZGI1YWZmOGI5MDBhNGEyYmI3YzcxZTBjY2NmOGU4NjBlZGQ0
15
+ MGViZTgzZmVkMWE0OWI5OTQyYzRiN2UzZTk1ODEzZjkyMzVjZGY=
@@ -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
@@ -22,6 +22,7 @@ module AuditRails
22
22
 
23
23
  def analytics
24
24
  @analysis_by_user_name = AuditRails::Audit.analysis_by_user_name
25
+ @analysis_by_page_views = AuditRails::Audit.analysis_by_page_views
25
26
  end
26
27
  end
27
28
  end
@@ -12,5 +12,9 @@ module AuditRails
12
12
  def self.analysis_by_user_name
13
13
  count(group: 'user_name')
14
14
  end
15
+
16
+ def self.analysis_by_page_views
17
+ count(group: 'controller,action')
18
+ end
15
19
  end
16
20
  end
@@ -1,12 +1,12 @@
1
1
  <%= javascript_include_tag "Chart.min"%>
2
- <div id='analyticsByUser'>Analytics by User</div>
2
+ <div id='analyticsByUser'>User clicks</div>
3
3
  <br/>
4
- <canvas id="canvas" height="450" width="600"></canvas>
4
+ <canvas id="userViews" height="450" width="600"></canvas>
5
5
 
6
6
 
7
7
  <script>
8
8
 
9
- var lineChartData = {
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 myLine = new Chart(document.getElementById("canvas").getContext("2d")).Line(lineChartData);
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>
@@ -1,3 +1,3 @@
1
1
  module AuditRails
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
@@ -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(list = {"Fake User"=>6, "John Smith"=>3})
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(list)
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
Binary file
@@ -521,3 +521,21 @@ Connecting to database specified by database.yml
521
521
   (100.4ms) DROP TABLE "audit_rails_audits"
522
522
   (2.8ms) 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
   (0.1ms) SELECT version FROM "schema_migrations"
524
+ Connecting to database specified by database.yml
525
+  (3.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
526
+  (0.6ms) select sqlite_version(*)
527
+  (1.4ms) DROP TABLE "audit_rails_audits"
528
+  (0.8ms) 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
+  (0.2ms) SELECT version FROM "schema_migrations"
530
+ Connecting to database specified by database.yml
531
+  (4.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
532
+  (0.3ms) select sqlite_version(*)
533
+  (1.1ms) DROP TABLE "audit_rails_audits"
534
+  (0.9ms) 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
+  (0.2ms) SELECT version FROM "schema_migrations"
536
+ Connecting to database specified by database.yml
537
+  (3.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
538
+  (0.8ms) select sqlite_version(*)
539
+  (1.6ms) DROP TABLE "audit_rails_audits"
540
+  (0.8ms) 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
+  (0.4ms) SELECT version FROM "schema_migrations"
@@ -3872,3 +3872,902 @@ Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
3872
3872
   (0.0ms) RELEASE SAVEPOINT active_record_1
3873
3873
   (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
3874
3874
   (0.4ms) rollback transaction
3875
+ Connecting to database specified by database.yml
3876
+  (0.4ms) begin transaction
3877
+ Processing by AnonymousController#login as HTML
3878
+ Parameters: {"id"=>"1"}
3879
+  (1.8ms) 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
+  (0.1ms) SAVEPOINT active_record_1
3881
+ SQL (0.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3883
+ Rendered text template (0.0ms)
3884
+ Completed 200 OK in 74ms (Views: 41.7ms | ActiveRecord: 5.2ms)
3885
+  (0.2ms) 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
+  (0.4ms) rollback transaction
3887
+  (0.1ms) begin transaction
3888
+  (0.1ms) SAVEPOINT active_record_1
3889
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3891
+  (0.1ms) SAVEPOINT active_record_1
3892
+ SQL (0.5ms) 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-21 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
3893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3894
+  (0.0ms) SAVEPOINT active_record_1
3895
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3897
+ Processing by AuditRails::AuditsController#index as XLS
3898
+ AuditRails::Audit Load (0.2ms) 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
+  (0.4ms) rollback transaction
3902
+  (0.1ms) begin transaction
3903
+  (0.1ms) SAVEPOINT active_record_1
3904
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3906
+  (0.0ms) SAVEPOINT active_record_1
3907
+ SQL (0.4ms) 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-21 17:58:56 UTC"], ["updated_at", Mon, 23 Sep 2013 17:58:56 UTC +00:00], ["user_name", "Fake User"]]
3908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3909
+  (0.1ms) SAVEPOINT active_record_1
3910
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3912
+ Processing by AuditRails::AuditsController#index as HTML
3913
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits"
3914
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms)
3915
+  (0.4ms) rollback transaction
3916
+  (0.1ms) begin transaction
3917
+ Processing by AuditRails::AuditsController#analytics as HTML
3918
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
3919
+  (0.1ms) rollback transaction
3920
+  (0.1ms) begin transaction
3921
+ Processing by AuditRails::AuditsController#create as HTML
3922
+  (0.1ms) SAVEPOINT active_record_1
3923
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3925
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms)
3926
+  (0.1ms) 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
+  (0.4ms) rollback transaction
3928
+  (0.1ms) begin transaction
3929
+  (0.1ms) rollback transaction
3930
+  (0.1ms) begin transaction
3931
+  (0.1ms) rollback transaction
3932
+  (0.1ms) begin transaction
3933
+  (0.1ms) rollback transaction
3934
+  (0.1ms) begin transaction
3935
+  (0.0ms) SAVEPOINT active_record_1
3936
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3938
+  (0.0ms) SAVEPOINT active_record_1
3939
+ SQL (0.6ms) 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", "Fake User"]]
3940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3941
+  (0.1ms) SAVEPOINT active_record_1
3942
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3944
+  (0.0ms) SAVEPOINT active_record_1
3945
+ SQL (21.9ms) 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", "Fake User"]]
3946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3947
+  (0.0ms) SAVEPOINT active_record_1
3948
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3950
+  (0.0ms) SAVEPOINT active_record_1
3951
+ SQL (0.3ms) 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", "Fake User"]]
3952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3953
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
3954
+  (0.4ms) rollback transaction
3955
+  (0.1ms) begin transaction
3956
+  (0.0ms) SAVEPOINT active_record_1
3957
+ SQL (0.6ms) 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 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3959
+  (0.1ms) 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')
3960
+  (0.3ms) rollback transaction
3961
+  (0.1ms) begin transaction
3962
+  (0.2ms) 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
+  (0.0ms) rollback transaction
3964
+ Connecting to database specified by database.yml
3965
+  (0.4ms) begin transaction
3966
+  (0.1ms) SAVEPOINT active_record_1
3967
+ SQL (7.9ms) 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-22 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
3968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3969
+  (0.1ms) SAVEPOINT active_record_1
3970
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3972
+  (0.0ms) SAVEPOINT active_record_1
3973
+ SQL (0.2ms) 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-20 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
3974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3975
+ Processing by AuditRails::AuditsController#index as HTML
3976
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
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
+  (0.4ms) rollback transaction
3980
+  (0.1ms) begin transaction
3981
+  (0.1ms) SAVEPOINT active_record_1
3982
+ SQL (0.6ms) 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-22 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
3983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3984
+  (0.0ms) SAVEPOINT active_record_1
3985
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3987
+  (0.0ms) SAVEPOINT active_record_1
3988
+ SQL (0.2ms) 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-20 18:17:02 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "Fake User"]]
3989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3990
+ Processing by AuditRails::AuditsController#index as XLS
3991
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
3992
+ Sent data audits.xls (2.6ms)
3993
+ Completed 200 OK in 16ms (Views: 2.4ms | ActiveRecord: 0.1ms)
3994
+  (0.4ms) rollback transaction
3995
+  (0.1ms) begin transaction
3996
+ Processing by AuditRails::AuditsController#analytics as HTML
3997
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4000
+  (0.1ms) begin transaction
4001
+  (0.1ms) rollback transaction
4002
+  (0.1ms) begin transaction
4003
+  (0.1ms) rollback transaction
4004
+  (0.1ms) begin transaction
4005
+  (0.1ms) rollback transaction
4006
+  (0.1ms) begin transaction
4007
+ Processing by AuditRails::AuditsController#create as HTML
4008
+  (0.1ms) SAVEPOINT active_record_1
4009
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4011
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
4012
+  (0.1ms) 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
+  (0.3ms) rollback transaction
4014
+  (0.1ms) begin transaction
4015
+  (0.2ms) 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')
4016
+  (0.1ms) rollback transaction
4017
+  (0.1ms) begin transaction
4018
+  (0.1ms) SAVEPOINT active_record_1
4019
+ SQL (0.7ms) 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:02 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:02 UTC +00:00], ["user_name", "John Smith"]]
4020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4021
+  (0.2ms) 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')
4022
+  (0.3ms) rollback transaction
4023
+  (0.1ms) begin transaction
4024
+  (0.1ms) SAVEPOINT active_record_1
4025
+ SQL (0.7ms) 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", "John Smith"]]
4026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4027
+  (0.0ms) SAVEPOINT active_record_1
4028
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4030
+  (0.1ms) SAVEPOINT active_record_1
4031
+ SQL (0.3ms) 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", "John Smith"]]
4032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4033
+  (0.0ms) SAVEPOINT active_record_1
4034
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4036
+  (0.0ms) SAVEPOINT active_record_1
4037
+ SQL (0.2ms) 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", "John Smith"]]
4038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4039
+  (0.0ms) SAVEPOINT active_record_1
4040
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4042
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4043
+  (0.3ms) rollback transaction
4044
+  (0.1ms) begin transaction
4045
+ Processing by AnonymousController#login as HTML
4046
+ Parameters: {"id"=>"1"}
4047
+  (0.2ms) 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')
4048
+  (0.0ms) SAVEPOINT active_record_1
4049
+ SQL (0.5ms) 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: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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4051
+ Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)
4052
+  (0.2ms) 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')
4053
+  (0.3ms) rollback transaction
4054
+ Connecting to database specified by database.yml
4055
+  (0.4ms) begin transaction
4056
+ Processing by AuditRails::AuditsController#create as HTML
4057
+  (0.1ms) SAVEPOINT active_record_1
4058
+ SQL (12.5ms) 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:09 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
4059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4060
+ Rendered text template (0.0ms)
4061
+ Completed 200 OK in 71ms (Views: 17.8ms | ActiveRecord: 15.3ms)
4062
+  (0.2ms) 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')
4063
+  (0.3ms) rollback transaction
4064
+  (0.1ms) begin transaction
4065
+  (0.1ms) SAVEPOINT active_record_1
4066
+ SQL (0.5ms) 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-22 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
4067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4068
+  (0.1ms) SAVEPOINT active_record_1
4069
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4071
+  (0.0ms) SAVEPOINT active_record_1
4072
+ SQL (0.3ms) 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-20 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
4073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4074
+ Processing by AuditRails::AuditsController#index as HTML
4075
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4076
+ Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.2ms)
4077
+  (0.4ms) rollback transaction
4078
+  (0.1ms) begin transaction
4079
+  (0.1ms) SAVEPOINT active_record_1
4080
+ SQL (0.4ms) 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-22 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
4081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4082
+  (0.0ms) SAVEPOINT active_record_1
4083
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4085
+  (0.1ms) SAVEPOINT active_record_1
4086
+ SQL (0.3ms) 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-20 18:17:09 UTC"], ["updated_at", Mon, 23 Sep 2013 18:17:09 UTC +00:00], ["user_name", "Fake User"]]
4087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4088
+ Processing by AuditRails::AuditsController#index as XLS
4089
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4090
+ Sent data audits.xls (0.8ms)
4091
+ Completed 200 OK in 48ms (Views: 0.5ms | ActiveRecord: 0.2ms)
4092
+  (1.9ms) rollback transaction
4093
+  (0.1ms) begin transaction
4094
+  (0.1ms) rollback transaction
4095
+  (0.1ms) begin transaction
4096
+  (0.1ms) rollback transaction
4097
+  (0.1ms) begin transaction
4098
+  (0.1ms) rollback transaction
4099
+  (0.1ms) begin transaction
4100
+ Processing by AuditRails::AuditsController#analytics as HTML
4101
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4104
+  (0.1ms) begin transaction
4105
+ Processing by AnonymousController#login as HTML
4106
+ Parameters: {"id"=>"1"}
4107
+  (0.2ms) 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')
4108
+  (0.0ms) SAVEPOINT active_record_1
4109
+ SQL (0.4ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4111
+ Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)
4112
+  (0.1ms) 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')
4113
+  (0.3ms) rollback transaction
4114
+  (0.1ms) begin transaction
4115
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4117
+  (0.1ms) begin transaction
4118
+  (0.0ms) SAVEPOINT active_record_1
4119
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4121
+  (0.1ms) 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
+  (0.3ms) rollback transaction
4123
+  (0.1ms) begin transaction
4124
+  (0.1ms) SAVEPOINT active_record_1
4125
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4127
+  (0.0ms) SAVEPOINT active_record_1
4128
+ SQL (0.4ms) 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", "Fake User"]]
4129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4130
+  (0.0ms) SAVEPOINT active_record_1
4131
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4133
+  (0.0ms) SAVEPOINT active_record_1
4134
+ SQL (0.3ms) 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", "Fake User"]]
4135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4136
+  (0.0ms) SAVEPOINT active_record_1
4137
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4139
+  (0.0ms) SAVEPOINT active_record_1
4140
+ SQL (0.2ms) 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", "Fake User"]]
4141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4142
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4143
+  (0.4ms) rollback transaction
4144
+ Connecting to database specified by database.yml
4145
+  (0.6ms) begin transaction
4146
+  (2.9ms) 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
+  (0.1ms) rollback transaction
4148
+  (0.1ms) begin transaction
4149
+  (0.1ms) SAVEPOINT active_record_1
4150
+ SQL (1.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4152
+  (0.1ms) 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
+  (0.3ms) rollback transaction
4154
+  (0.1ms) begin transaction
4155
+  (0.0ms) SAVEPOINT active_record_1
4156
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4158
+  (0.0ms) SAVEPOINT active_record_1
4159
+ SQL (0.5ms) 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", "Fake User"]]
4160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4161
+  (0.0ms) SAVEPOINT active_record_1
4162
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4164
+  (0.0ms) SAVEPOINT active_record_1
4165
+ SQL (0.3ms) 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", "Fake User"]]
4166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4167
+  (0.0ms) SAVEPOINT active_record_1
4168
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4170
+  (0.0ms) SAVEPOINT active_record_1
4171
+ SQL (0.3ms) 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", "Fake User"]]
4172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4173
+  (0.2ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4174
+  (0.5ms) rollback transaction
4175
+  (0.1ms) begin transaction
4176
+  (0.1ms) SAVEPOINT active_record_1
4177
+ SQL (0.5ms) 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"]]
4178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4179
+  (0.0ms) SAVEPOINT active_record_1
4180
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4182
+  (0.0ms) SAVEPOINT active_record_1
4183
+ SQL (0.3ms) 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"]]
4184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4185
+  (0.1ms) SAVEPOINT active_record_1
4186
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4188
+  (0.1ms) SAVEPOINT active_record_1
4189
+ SQL (0.4ms) 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"]]
4190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4191
+  (0.1ms) SAVEPOINT active_record_1
4192
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4194
+  (0.2ms) SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
4195
+  (0.4ms) rollback transaction
4196
+ Connecting to database specified by database.yml
4197
+  (0.6ms) begin transaction
4198
+  (0.1ms) SAVEPOINT active_record_1
4199
+ SQL (12.6ms) 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:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "John Smith"]]
4200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4201
+  (0.2ms) 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')
4202
+  (0.4ms) rollback transaction
4203
+  (0.1ms) begin transaction
4204
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4206
+  (0.1ms) begin transaction
4207
+  (0.1ms) SAVEPOINT active_record_1
4208
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4210
+  (0.0ms) SAVEPOINT active_record_1
4211
+ SQL (0.4ms) 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:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
4212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4213
+  (0.0ms) SAVEPOINT active_record_1
4214
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4216
+  (0.1ms) SAVEPOINT active_record_1
4217
+ SQL (0.3ms) 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:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
4218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4219
+  (0.0ms) SAVEPOINT active_record_1
4220
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4222
+  (0.1ms) SAVEPOINT active_record_1
4223
+ SQL (0.3ms) 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:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:25 UTC +00:00], ["user_name", "Fake User"]]
4224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4225
+  (0.2ms) SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
4226
+  (0.4ms) rollback transaction
4227
+  (0.1ms) begin transaction
4228
+  (0.0ms) SAVEPOINT active_record_1
4229
+ SQL (0.5ms) 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"]]
4230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4231
+  (0.0ms) SAVEPOINT active_record_1
4232
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4234
+  (0.1ms) SAVEPOINT active_record_1
4235
+ SQL (0.4ms) 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"]]
4236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4237
+  (0.1ms) SAVEPOINT active_record_1
4238
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4240
+  (0.0ms) SAVEPOINT active_record_1
4241
+ SQL (0.3ms) 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"]]
4242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4243
+  (0.0ms) SAVEPOINT active_record_1
4244
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4246
+  (0.2ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4247
+  (0.4ms) rollback transaction
4248
+ Connecting to database specified by database.yml
4249
+  (0.4ms) begin transaction
4250
+ Processing by AnonymousController#login as HTML
4251
+ Parameters: {"id"=>"1"}
4252
+  (2.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
4254
+ SQL (1.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4256
+ Rendered text template (0.0ms)
4257
+ Completed 200 OK in 80ms (Views: 18.5ms | ActiveRecord: 5.5ms)
4258
+  (0.2ms) 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
+  (0.3ms) rollback transaction
4260
+  (0.1ms) begin transaction
4261
+  (0.2ms) 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')
4262
+  (0.1ms) rollback transaction
4263
+  (0.1ms) begin transaction
4264
+  (0.1ms) SAVEPOINT active_record_1
4265
+ SQL (0.7ms) 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", "John Smith"]]
4266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4267
+  (0.2ms) 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')
4268
+  (0.3ms) rollback transaction
4269
+  (0.1ms) begin transaction
4270
+  (0.0ms) SAVEPOINT active_record_1
4271
+ SQL (0.5ms) 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"]]
4272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4273
+  (0.0ms) SAVEPOINT active_record_1
4274
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4276
+  (0.1ms) SAVEPOINT active_record_1
4277
+ SQL (0.4ms) 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"]]
4278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4279
+  (0.1ms) SAVEPOINT active_record_1
4280
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4282
+  (0.1ms) SAVEPOINT active_record_1
4283
+ SQL (0.4ms) 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"]]
4284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4285
+  (0.1ms) SAVEPOINT active_record_1
4286
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4288
+  (0.2ms) SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
4289
+  (0.4ms) rollback transaction
4290
+  (0.1ms) begin transaction
4291
+  (0.0ms) SAVEPOINT active_record_1
4292
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4294
+  (0.1ms) SAVEPOINT active_record_1
4295
+ SQL (0.4ms) 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", "Fake User"]]
4296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4297
+  (0.0ms) SAVEPOINT active_record_1
4298
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4300
+  (0.0ms) SAVEPOINT active_record_1
4301
+ SQL (0.2ms) 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", "Fake User"]]
4302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4303
+  (0.0ms) SAVEPOINT active_record_1
4304
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4306
+  (0.1ms) SAVEPOINT active_record_1
4307
+ SQL (0.4ms) 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", "Fake User"]]
4308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4309
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4310
+  (0.5ms) rollback transaction
4311
+  (0.1ms) begin transaction
4312
+ Processing by AuditRails::AuditsController#create as HTML
4313
+  (0.1ms) SAVEPOINT active_record_1
4314
+ SQL (0.5ms) 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:19:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
4315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4316
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.6ms)
4317
+  (0.2ms) 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')
4318
+  (0.3ms) rollback transaction
4319
+  (0.1ms) begin transaction
4320
+ Processing by AuditRails::AuditsController#analytics as HTML
4321
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4324
+  (0.1ms) begin transaction
4325
+  (0.1ms) SAVEPOINT active_record_1
4326
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4328
+  (0.0ms) SAVEPOINT active_record_1
4329
+ SQL (0.4ms) 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-21 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
4330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4331
+  (0.0ms) SAVEPOINT active_record_1
4332
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4334
+ Processing by AuditRails::AuditsController#index as HTML
4335
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits"
4336
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)
4337
+  (0.4ms) rollback transaction
4338
+  (0.1ms) begin transaction
4339
+  (0.1ms) SAVEPOINT active_record_1
4340
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4342
+  (0.1ms) SAVEPOINT active_record_1
4343
+ SQL (0.4ms) 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-21 18:19:30 UTC"], ["updated_at", Mon, 23 Sep 2013 18:19:30 UTC +00:00], ["user_name", "Fake User"]]
4344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4345
+  (0.0ms) SAVEPOINT active_record_1
4346
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4348
+ Processing by AuditRails::AuditsController#index as XLS
4349
+ AuditRails::Audit Load (0.1ms) 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
+  (0.6ms) rollback transaction
4353
+  (0.1ms) begin transaction
4354
+  (0.1ms) rollback transaction
4355
+  (0.1ms) begin transaction
4356
+  (0.1ms) rollback transaction
4357
+  (0.1ms) begin transaction
4358
+  (0.1ms) rollback transaction
4359
+ Connecting to database specified by database.yml
4360
+  (0.4ms) begin transaction
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
+  (0.1ms) rollback transaction
4365
+  (0.1ms) begin transaction
4366
+  (0.1ms) SAVEPOINT active_record_1
4367
+ SQL (9.3ms) 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-22 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
4368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4369
+  (0.0ms) SAVEPOINT active_record_1
4370
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4372
+  (0.1ms) SAVEPOINT active_record_1
4373
+ SQL (0.4ms) 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-20 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
4374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4375
+ Processing by AuditRails::AuditsController#index as HTML
4376
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4377
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms)
4378
+  (0.5ms) rollback transaction
4379
+  (0.1ms) begin transaction
4380
+  (0.1ms) SAVEPOINT active_record_1
4381
+ SQL (0.7ms) 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-22 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
4382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4383
+  (0.1ms) SAVEPOINT active_record_1
4384
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4386
+  (0.1ms) SAVEPOINT active_record_1
4387
+ SQL (0.4ms) 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-20 18:20:25 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
4388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4389
+ Processing by AuditRails::AuditsController#index as XLS
4390
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4391
+ Sent data audits.xls (3.5ms)
4392
+ Completed 200 OK in 18ms (Views: 3.3ms | ActiveRecord: 0.1ms)
4393
+  (0.4ms) rollback transaction
4394
+  (0.1ms) begin transaction
4395
+ Processing by AuditRails::AuditsController#create as HTML
4396
+  (0.1ms) SAVEPOINT active_record_1
4397
+ SQL (0.8ms) 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:20:25 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:25 UTC +00:00], ["user_name", "Fake User"]]
4398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4399
+ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 1.0ms)
4400
+  (0.2ms) 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')
4401
+  (0.4ms) rollback transaction
4402
+  (0.1ms) begin transaction
4403
+  (0.1ms) rollback transaction
4404
+  (0.1ms) begin transaction
4405
+  (0.1ms) rollback transaction
4406
+  (0.1ms) begin transaction
4407
+  (0.1ms) rollback transaction
4408
+ Connecting to database specified by database.yml
4409
+  (0.4ms) begin transaction
4410
+ Processing by AuditRails::AuditsController#create as HTML
4411
+  (0.1ms) SAVEPOINT active_record_1
4412
+ SQL (10.7ms) 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:20:30 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:30 UTC +00:00], ["user_name", "Fake User"]]
4413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4414
+ Rendered text template (0.0ms)
4415
+ Completed 200 OK in 64ms (Views: 37.6ms | ActiveRecord: 12.9ms)
4416
+  (0.2ms) 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')
4417
+  (0.4ms) rollback transaction
4418
+  (0.1ms) begin transaction
4419
+  (0.1ms) SAVEPOINT active_record_1
4420
+ SQL (0.5ms) 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-22 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
4421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4422
+  (0.0ms) SAVEPOINT active_record_1
4423
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4425
+  (0.1ms) SAVEPOINT active_record_1
4426
+ SQL (0.3ms) 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-20 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
4427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4428
+ Processing by AuditRails::AuditsController#index as XLS
4429
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4430
+ Sent data audits.xls (0.6ms)
4431
+ Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.1ms)
4432
+  (0.4ms) rollback transaction
4433
+  (0.1ms) begin transaction
4434
+  (0.1ms) SAVEPOINT active_record_1
4435
+ SQL (0.8ms) 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-22 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
4436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4437
+  (0.1ms) SAVEPOINT active_record_1
4438
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4440
+  (0.0ms) SAVEPOINT active_record_1
4441
+ SQL (0.3ms) 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-20 18:20:31 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:31 UTC +00:00], ["user_name", "Fake User"]]
4442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4443
+ Processing by AuditRails::AuditsController#index as HTML
4444
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4445
+ Completed 200 OK in 35ms (Views: 33.3ms | ActiveRecord: 0.2ms)
4446
+  (0.4ms) rollback transaction
4447
+  (0.1ms) begin transaction
4448
+  (0.1ms) rollback transaction
4449
+  (0.1ms) begin transaction
4450
+  (0.1ms) rollback transaction
4451
+  (0.1ms) begin transaction
4452
+  (0.1ms) rollback transaction
4453
+  (0.1ms) begin transaction
4454
+ Processing by AuditRails::AuditsController#analytics as HTML
4455
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
4456
+  (0.1ms) rollback transaction
4457
+ Connecting to database specified by database.yml
4458
+  (0.4ms) begin transaction
4459
+  (0.1ms) rollback transaction
4460
+  (0.1ms) begin transaction
4461
+  (0.1ms) rollback transaction
4462
+  (0.1ms) begin transaction
4463
+  (0.1ms) rollback transaction
4464
+  (0.1ms) begin transaction
4465
+  (0.1ms) SAVEPOINT active_record_1
4466
+ SQL (7.8ms) 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-22 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
4467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4468
+  (0.1ms) SAVEPOINT active_record_1
4469
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4471
+  (0.1ms) SAVEPOINT active_record_1
4472
+ SQL (0.4ms) 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-20 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
4473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4474
+ Processing by AuditRails::AuditsController#index as HTML
4475
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4476
+ Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 0.2ms)
4477
+  (0.3ms) rollback transaction
4478
+  (0.1ms) begin transaction
4479
+  (0.1ms) SAVEPOINT active_record_1
4480
+ SQL (0.9ms) 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-22 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
4481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4482
+  (0.1ms) SAVEPOINT active_record_1
4483
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4485
+  (0.1ms) SAVEPOINT active_record_1
4486
+ SQL (0.4ms) 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-20 18:20:43 UTC"], ["updated_at", Mon, 23 Sep 2013 18:20:43 UTC +00:00], ["user_name", "Fake User"]]
4487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4488
+ Processing by AuditRails::AuditsController#index as XLS
4489
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4490
+ Sent data audits.xls (3.8ms)
4491
+ Completed 200 OK in 22ms (Views: 3.6ms | ActiveRecord: 0.2ms)
4492
+  (0.4ms) rollback transaction
4493
+  (0.1ms) begin transaction
4494
+ Processing by AuditRails::AuditsController#create as HTML
4495
+  (0.1ms) SAVEPOINT active_record_1
4496
+ SQL (0.6ms) 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:20:44 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:20:44 UTC +00:00], ["user_name", "Fake User"]]
4497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4498
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.7ms)
4499
+  (0.1ms) 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')
4500
+  (0.4ms) rollback transaction
4501
+  (0.1ms) begin transaction
4502
+ Processing by AuditRails::AuditsController#analytics as HTML
4503
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
4504
+  (0.1ms) rollback transaction
4505
+ Connecting to database specified by database.yml
4506
+  (0.5ms) begin transaction
4507
+ Processing by AuditRails::AuditsController#create as HTML
4508
+  (0.1ms) SAVEPOINT active_record_1
4509
+ SQL (8.3ms) 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:01 UTC +00:00], ["description", nil], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
4510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4511
+ Rendered text template (0.0ms)
4512
+ Completed 200 OK in 64ms (Views: 40.0ms | ActiveRecord: 10.8ms)
4513
+  (0.2ms) 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')
4514
+  (0.3ms) rollback transaction
4515
+  (0.1ms) begin transaction
4516
+  (0.1ms) SAVEPOINT active_record_1
4517
+ SQL (0.5ms) 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-22 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
4518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4519
+  (0.0ms) SAVEPOINT active_record_1
4520
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4522
+  (0.1ms) SAVEPOINT active_record_1
4523
+ SQL (0.3ms) 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-20 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
4524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4525
+ Processing by AuditRails::AuditsController#index as HTML
4526
+ AuditRails::Audit Load (0.2ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4527
+ Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.2ms)
4528
+  (0.4ms) rollback transaction
4529
+  (0.1ms) begin transaction
4530
+  (0.1ms) SAVEPOINT active_record_1
4531
+ SQL (0.5ms) 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-22 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
4532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4533
+  (0.0ms) SAVEPOINT active_record_1
4534
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4536
+  (0.0ms) SAVEPOINT active_record_1
4537
+ SQL (0.4ms) 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-20 18:21:01 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:01 UTC +00:00], ["user_name", "Fake User"]]
4538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4539
+ Processing by AuditRails::AuditsController#index as XLS
4540
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4541
+ Sent data audits.xls (0.6ms)
4542
+ Completed 200 OK in 38ms (Views: 0.4ms | ActiveRecord: 0.1ms)
4543
+  (0.4ms) rollback transaction
4544
+  (0.1ms) begin transaction
4545
+  (0.1ms) rollback transaction
4546
+  (0.1ms) begin transaction
4547
+  (0.1ms) rollback transaction
4548
+  (0.1ms) begin transaction
4549
+  (0.1ms) rollback transaction
4550
+  (0.1ms) begin transaction
4551
+ Processing by AuditRails::AuditsController#analytics as HTML
4552
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
4553
+  (0.1ms) rollback transaction
4554
+ Connecting to database specified by database.yml
4555
+  (0.4ms) begin transaction
4556
+  (0.1ms) SAVEPOINT active_record_1
4557
+ SQL (12.3ms) 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"]]
4558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4559
+  (0.1ms) SAVEPOINT active_record_1
4560
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4562
+  (0.1ms) SAVEPOINT active_record_1
4563
+ SQL (0.4ms) 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"]]
4564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4565
+  (0.1ms) SAVEPOINT active_record_1
4566
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4568
+  (0.0ms) SAVEPOINT active_record_1
4569
+ SQL (0.3ms) 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"]]
4570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4571
+  (0.1ms) SAVEPOINT active_record_1
4572
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4574
+  (0.2ms) SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
4575
+  (0.4ms) rollback transaction
4576
+  (0.1ms) begin transaction
4577
+  (0.1ms) SAVEPOINT active_record_1
4578
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4580
+  (0.0ms) SAVEPOINT active_record_1
4581
+ SQL (0.4ms) 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", "Fake User"]]
4582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4583
+  (0.1ms) SAVEPOINT active_record_1
4584
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4586
+  (0.1ms) SAVEPOINT active_record_1
4587
+ SQL (0.2ms) 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", "Fake User"]]
4588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4589
+  (0.1ms) SAVEPOINT active_record_1
4590
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4592
+  (0.1ms) SAVEPOINT active_record_1
4593
+ SQL (0.3ms) 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", "Fake User"]]
4594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4595
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4596
+  (0.3ms) rollback transaction
4597
+  (0.1ms) begin transaction
4598
+  (0.2ms) 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
+  (0.1ms) rollback transaction
4600
+  (0.1ms) begin transaction
4601
+  (0.1ms) SAVEPOINT active_record_1
4602
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4604
+  (0.1ms) 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
+  (0.3ms) rollback transaction
4606
+  (0.1ms) begin transaction
4607
+ Processing by AuditRails::AuditsController#create as HTML
4608
+  (0.1ms) SAVEPOINT active_record_1
4609
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4611
+ Rendered text template (0.0ms)
4612
+ Completed 200 OK in 23ms (Views: 18.8ms | ActiveRecord: 0.7ms)
4613
+  (0.2ms) 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
+  (0.3ms) rollback transaction
4615
+  (0.1ms) begin transaction
4616
+  (0.1ms) rollback transaction
4617
+  (0.1ms) begin transaction
4618
+  (0.1ms) rollback transaction
4619
+  (0.1ms) begin transaction
4620
+  (0.1ms) rollback transaction
4621
+  (0.1ms) begin transaction
4622
+  (0.1ms) SAVEPOINT active_record_1
4623
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4625
+  (0.1ms) SAVEPOINT active_record_1
4626
+ SQL (0.6ms) 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-21 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
4627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4628
+  (0.0ms) SAVEPOINT active_record_1
4629
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4631
+ Processing by AuditRails::AuditsController#index as HTML
4632
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits"
4633
+ Completed 200 OK in 37ms (Views: 34.8ms | ActiveRecord: 0.1ms)
4634
+  (0.4ms) rollback transaction
4635
+  (0.1ms) begin transaction
4636
+  (0.1ms) SAVEPOINT active_record_1
4637
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4639
+  (0.0ms) SAVEPOINT active_record_1
4640
+ SQL (0.5ms) 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-21 18:21:06 UTC"], ["updated_at", Mon, 23 Sep 2013 18:21:06 UTC +00:00], ["user_name", "Fake User"]]
4641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4642
+  (0.1ms) SAVEPOINT active_record_1
4643
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4645
+ Processing by AuditRails::AuditsController#index as XLS
4646
+ AuditRails::Audit Load (0.2ms) 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
+  (0.4ms) rollback transaction
4650
+  (0.1ms) begin transaction
4651
+ Processing by AuditRails::AuditsController#analytics as HTML
4652
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
4653
+  (0.1ms) rollback transaction
4654
+  (0.1ms) begin transaction
4655
+ Processing by AnonymousController#login as HTML
4656
+ Parameters: {"id"=>"1"}
4657
+  (0.2ms) 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')
4658
+  (0.1ms) SAVEPOINT active_record_1
4659
+ SQL (0.6ms) 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: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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4661
+ Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)
4662
+  (0.2ms) 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')
4663
+  (0.3ms) rollback transaction
4664
+ Connecting to database specified by database.yml
4665
+  (0.3ms) begin transaction
4666
+  (0.1ms) SAVEPOINT active_record_1
4667
+ SQL (6.3ms) 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-23 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
4668
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4669
+  (0.1ms) SAVEPOINT active_record_1
4670
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4672
+  (0.0ms) SAVEPOINT active_record_1
4673
+ SQL (0.2ms) 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-21 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
4674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4675
+ Processing by AuditRails::AuditsController#index as HTML
4676
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
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
+  (0.4ms) rollback transaction
4680
+  (0.1ms) begin transaction
4681
+  (0.0ms) SAVEPOINT active_record_1
4682
+ SQL (0.4ms) 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-23 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
4683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4684
+  (0.0ms) SAVEPOINT active_record_1
4685
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4687
+  (0.0ms) SAVEPOINT active_record_1
4688
+ SQL (0.2ms) 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-21 04:09:29 UTC"], ["updated_at", Tue, 24 Sep 2013 04:09:29 UTC +00:00], ["user_name", "Fake User"]]
4689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4690
+ Processing by AuditRails::AuditsController#index as XLS
4691
+ AuditRails::Audit Load (0.1ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" 
4692
+ Sent data audits.xls (2.3ms)
4693
+ Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 0.1ms)
4694
+  (0.4ms) rollback transaction
4695
+  (0.1ms) begin transaction
4696
+ Processing by AuditRails::AuditsController#create as HTML
4697
+  (0.1ms) SAVEPOINT active_record_1
4698
+ SQL (0.5ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4700
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
4701
+  (0.1ms) 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-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
4702
+  (0.3ms) rollback transaction
4703
+  (0.1ms) begin transaction
4704
+  (0.0ms) rollback transaction
4705
+  (0.0ms) begin transaction
4706
+  (0.0ms) rollback transaction
4707
+  (0.0ms) begin transaction
4708
+  (0.1ms) rollback transaction
4709
+  (0.1ms) begin transaction
4710
+ Processing by AuditRails::AuditsController#analytics as HTML
4711
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
4712
+  (0.1ms) rollback transaction
4713
+  (0.1ms) begin transaction
4714
+ Processing by AnonymousController#login as HTML
4715
+ Parameters: {"id"=>"1"}
4716
+  (0.2ms) 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
+  (0.0ms) SAVEPOINT active_record_1
4718
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4720
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms)
4721
+  (0.1ms) 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
+  (0.5ms) rollback transaction
4723
+  (0.1ms) begin transaction
4724
+  (0.1ms) SAVEPOINT active_record_1
4725
+ SQL (0.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4727
+  (0.0ms) SAVEPOINT active_record_1
4728
+ SQL (0.3ms) 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", "Fake User"]]
4729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4730
+  (0.0ms) SAVEPOINT active_record_1
4731
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4733
+  (0.0ms) SAVEPOINT active_record_1
4734
+ SQL (0.2ms) 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", "Fake User"]]
4735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4736
+  (0.0ms) SAVEPOINT active_record_1
4737
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4739
+  (0.0ms) SAVEPOINT active_record_1
4740
+ SQL (0.2ms) 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", "Fake User"]]
4741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4742
+  (0.1ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
4743
+  (0.4ms) rollback transaction
4744
+  (0.1ms) begin transaction
4745
+  (0.1ms) 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
+  (0.0ms) rollback transaction
4747
+  (0.0ms) begin transaction
4748
+  (0.0ms) SAVEPOINT active_record_1
4749
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4751
+  (0.1ms) 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
+  (0.3ms) rollback transaction
4753
+  (0.1ms) begin transaction
4754
+  (0.0ms) SAVEPOINT active_record_1
4755
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4757
+  (0.0ms) SAVEPOINT active_record_1
4758
+ SQL (0.4ms) 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", "Fake User"]]
4759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4760
+  (0.0ms) SAVEPOINT active_record_1
4761
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4763
+  (0.0ms) SAVEPOINT active_record_1
4764
+ SQL (0.2ms) 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", "Fake User"]]
4765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4766
+  (0.0ms) SAVEPOINT active_record_1
4767
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4769
+  (0.0ms) SAVEPOINT active_record_1
4770
+ SQL (0.2ms) 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", "Fake User"]]
4771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4772
+  (0.1ms) SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
4773
+  (0.4ms) rollback transaction