audit_rails 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32a605ce6f8dbf452f1bdc812de6db0ac790fa6b
4
- data.tar.gz: 43ac621d3ef32c22c187fe76c356521af645291a
3
+ metadata.gz: bcbbfbe40a9d662d5e882bcd8dce0766697bbd94
4
+ data.tar.gz: 102ab2d49e89f1f54534ee833eb896d0498141b3
5
5
  SHA512:
6
- metadata.gz: 3f57299e2730aa8d553dedad17e94d0786d64143e7291505070a7212aa15ade2e25b87e482508c8208a80c83c3f1ef76c926daed01bb074abedbb4abe8f47fdc
7
- data.tar.gz: 4e21a0a5ac4010951cb3327a8f017c822ff8ad51e29f1248b6964c58227a2d85280f42be4dfdb9664ecfacf908d94e25eb36b3fd8ba3a5879e76028a339a3955
6
+ metadata.gz: a4b7b200136b039e9ba67f3a84abb2bdbc3ebd0aa3c366e990724c01e72d4784bccd61425a45621462b140e271e11610d3c3f822df78b3c6a57b0e954a8b3b3a
7
+ data.tar.gz: 166b68ff0716e2918bc477bdad2ceb0ca3f923626fede6b85e19eef385d7d8d446034ec635b8a88e9b94b674f7e81d1f02eaca717f02d71346f850471b380709
@@ -18,7 +18,7 @@
18
18
 
19
19
  }
20
20
 
21
- var myLine = new Chart(document.getElementById("pageViews").getContext("2d")).Line(lineChartData, {scaleLineWidth : 2, scaleLineColor : "rgba(0,0,0,.1)", scaleSteps : <%= @analysis_by_user_name.values.max/5 + 2%>, scaleOverride : true, scaleStepWidth: 5});
21
+ var myLine = new Chart(document.getElementById("pageViews").getContext("2d")).Line(lineChartData, {scaleLineWidth : 2, scaleLineColor : "rgba(0,0,0,.1)", scaleSteps : <%= @analysis_by_user_name.values.max/5 + 2%>});
22
22
 
23
23
  </script>
24
24
  </div>
@@ -18,7 +18,7 @@
18
18
 
19
19
  }
20
20
 
21
- var myBar = new Chart(document.getElementById("userViews").getContext("2d")).Bar(barChartData, {scaleLineWidth : 2, scaleLineColor : "rgba(0,0,0,.1)", scaleSteps : <%= @analysis_by_user_name.values.max/5 + 2%>, scaleOverride : true, scaleStepWidth: 5});
21
+ var myBar = new Chart(document.getElementById("userViews").getContext("2d")).Bar(barChartData, {scaleLineWidth : 2, scaleLineColor : "rgba(0,0,0,.1)", scaleSteps : <%= @analysis_by_user_name.values.max/5 + 2%>});
22
22
 
23
23
  </script>
24
24
  </div>
@@ -11,6 +11,10 @@
11
11
  <div class="container">
12
12
  <div class="navbar-collapse collapse">
13
13
  <ul class="nav navbar-nav">
14
+ <li>
15
+ <%= link_to 'Home', '/' %>
16
+ </li>
17
+
14
18
  <li class="<%= active_class('index')%>">
15
19
  <%= link_to 'Audits', audits_path %>
16
20
  </li>
@@ -1,3 +1,3 @@
1
1
  module AuditRails
2
- VERSION = "1.1.9"
2
+ VERSION = "1.1.10"
3
3
  end
@@ -16777,3 +16777,469 @@ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16777
16777
   (0.0ms) RELEASE SAVEPOINT active_record_1
16778
16778
   (0.0ms) SELECT COUNT(*) AS count_all, controller, action AS controller_action FROM "audit_rails_audits" GROUP BY controller, action
16779
16779
   (0.0ms) rollback transaction
16780
+ Connecting to database specified by database.yml
16781
+  (0.3ms) begin transaction
16782
+  (0.0ms) SAVEPOINT active_record_1
16783
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-08 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16785
+  (0.0ms) SAVEPOINT active_record_1
16786
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-07 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16788
+  (0.0ms) SAVEPOINT active_record_1
16789
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-06 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16791
+ Processing by AuditRails::AuditsController#index as HTML
16792
+ Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (0.0ms)
16793
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16794
+ AuditRails::Audit Load (0.0ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
16795
+  (0.0ms) rollback transaction
16796
+  (0.1ms) begin transaction
16797
+  (0.0ms) SAVEPOINT active_record_1
16798
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-08 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16800
+  (0.0ms) SAVEPOINT active_record_1
16801
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-07 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16803
+  (0.0ms) SAVEPOINT active_record_1
16804
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged on at 2013-11-06 07:51:19 UTC"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16806
+ Processing by AuditRails::AuditsController#index as XLS
16807
+ AuditRails::Audit Load (0.0ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
16808
+ Sent data audits.xls (0.0ms)
16809
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16810
+  (0.0ms) rollback transaction
16811
+  (0.1ms) begin transaction
16812
+ Processing by AuditRails::AuditsController#analytics as HTML
16813
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits"
16814
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16815
+  (0.0ms) rollback transaction
16816
+  (0.0ms) begin transaction
16817
+ Processing by AuditRails::AuditsController#create as HTML
16818
+  (0.0ms) SAVEPOINT active_record_1
16819
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16821
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16822
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16823
+  (0.0ms) rollback transaction
16824
+  (0.1ms) begin transaction
16825
+  (0.0ms) rollback transaction
16826
+  (0.1ms) begin transaction
16827
+  (0.0ms) rollback transaction
16828
+  (0.0ms) begin transaction
16829
+  (0.0ms) rollback transaction
16830
+  (0.1ms) begin transaction
16831
+  (0.0ms) SAVEPOINT active_record_1
16832
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16834
+  (0.0ms) SAVEPOINT active_record_1
16835
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16837
+  (0.0ms) SAVEPOINT active_record_1
16838
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16840
+  (0.0ms) SAVEPOINT active_record_1
16841
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.585453' WHERE "audit_rails_audits"."id" = 1
16842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16843
+  (0.0ms) SAVEPOINT active_record_1
16844
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.585453' WHERE "audit_rails_audits"."id" = 2
16845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16846
+  (0.0ms) SAVEPOINT active_record_1
16847
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.585453' WHERE "audit_rails_audits"."id" = 3
16848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16849
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
16850
+  (0.0ms) rollback transaction
16851
+  (0.1ms) begin transaction
16852
+  (0.0ms) SAVEPOINT active_record_1
16853
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16855
+  (0.0ms) SAVEPOINT active_record_1
16856
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16858
+  (0.0ms) SAVEPOINT active_record_1
16859
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16861
+  (0.0ms) SAVEPOINT active_record_1
16862
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.599013' WHERE "audit_rails_audits"."id" = 1
16863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16864
+  (0.0ms) SAVEPOINT active_record_1
16865
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.599013' WHERE "audit_rails_audits"."id" = 2
16866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16867
+  (0.0ms) SAVEPOINT active_record_1
16868
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.599013' WHERE "audit_rails_audits"."id" = 3
16869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16870
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
16871
+  (0.0ms) rollback transaction
16872
+  (0.1ms) begin transaction
16873
+  (0.0ms) SAVEPOINT active_record_1
16874
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16876
+  (0.0ms) SAVEPOINT active_record_1
16877
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16879
+  (0.0ms) SAVEPOINT active_record_1
16880
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16882
+  (0.0ms) SAVEPOINT active_record_1
16883
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.608734' WHERE "audit_rails_audits"."id" = 1
16884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16885
+  (0.0ms) SAVEPOINT active_record_1
16886
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.608734' WHERE "audit_rails_audits"."id" = 2
16887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16888
+  (0.0ms) SAVEPOINT active_record_1
16889
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.608734' WHERE "audit_rails_audits"."id" = 3
16890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16891
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16892
+  (0.0ms) rollback transaction
16893
+  (0.1ms) begin transaction
16894
+  (0.0ms) SAVEPOINT active_record_1
16895
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16897
+  (0.0ms) SAVEPOINT active_record_1
16898
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16900
+  (0.0ms) SAVEPOINT active_record_1
16901
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16903
+  (0.0ms) SAVEPOINT active_record_1
16904
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16906
+  (0.0ms) SAVEPOINT active_record_1
16907
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16909
+  (0.0ms) SAVEPOINT active_record_1
16910
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16912
+  (0.0ms) SELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action
16913
+  (0.0ms) rollback transaction
16914
+  (0.1ms) begin transaction
16915
+  (0.0ms) SAVEPOINT active_record_1
16916
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16918
+  (0.0ms) SAVEPOINT active_record_1
16919
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16921
+  (0.0ms) SAVEPOINT active_record_1
16922
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16924
+  (0.0ms) SAVEPOINT active_record_1
16925
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16927
+  (0.0ms) SAVEPOINT active_record_1
16928
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16930
+  (0.0ms) SAVEPOINT active_record_1
16931
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16933
+  (0.0ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
16934
+  (0.0ms) rollback transaction
16935
+  (0.1ms) begin transaction
16936
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16937
+  (0.0ms) rollback transaction
16938
+  (0.0ms) begin transaction
16939
+  (0.0ms) SAVEPOINT active_record_1
16940
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
16941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16942
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16943
+  (0.0ms) rollback transaction
16944
+  (0.1ms) begin transaction
16945
+  (0.0ms) rollback transaction
16946
+  (0.0ms) begin transaction
16947
+ Processing by AnonymousController#login as HTML
16948
+ Parameters: {"id"=>"1"}
16949
+  (0.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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16950
+  (0.0ms) SAVEPOINT active_record_1
16951
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", "User logged in"], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
16952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16953
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
16954
+  (0.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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16955
+  (0.0ms) rollback transaction
16956
+ Connecting to database specified by database.yml
16957
+  (0.3ms) begin transaction
16958
+  (0.0ms) SAVEPOINT active_record_1
16959
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16961
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16962
+  (0.0ms) rollback transaction
16963
+  (0.1ms) begin transaction
16964
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
16965
+  (0.0ms) rollback transaction
16966
+  (0.0ms) begin transaction
16967
+  (0.0ms) SAVEPOINT active_record_1
16968
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16970
+  (0.0ms) SAVEPOINT active_record_1
16971
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
16972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16973
+  (0.0ms) SAVEPOINT active_record_1
16974
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16976
+  (0.0ms) SAVEPOINT active_record_1
16977
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
16978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16979
+  (0.0ms) SAVEPOINT active_record_1
16980
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16982
+  (0.0ms) SAVEPOINT active_record_1
16983
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
16984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16985
+  (0.0ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
16986
+  (0.0ms) rollback transaction
16987
+  (0.1ms) begin transaction
16988
+  (0.0ms) SAVEPOINT active_record_1
16989
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16991
+  (0.0ms) SAVEPOINT active_record_1
16992
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16994
+  (0.0ms) SAVEPOINT active_record_1
16995
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
16996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16997
+  (0.0ms) SAVEPOINT active_record_1
16998
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.671025' WHERE "audit_rails_audits"."id" = 1
16999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17000
+  (0.0ms) SAVEPOINT active_record_1
17001
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.671025' WHERE "audit_rails_audits"."id" = 2
17002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17003
+  (0.0ms) SAVEPOINT active_record_1
17004
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.671025' WHERE "audit_rails_audits"."id" = 3
17005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17006
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
17007
+  (0.0ms) rollback transaction
17008
+  (0.1ms) begin transaction
17009
+  (0.0ms) SAVEPOINT active_record_1
17010
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17012
+  (0.0ms) SAVEPOINT active_record_1
17013
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17015
+  (0.0ms) SAVEPOINT active_record_1
17016
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17018
+  (0.0ms) SAVEPOINT active_record_1
17019
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.685469' WHERE "audit_rails_audits"."id" = 1
17020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17021
+  (0.0ms) SAVEPOINT active_record_1
17022
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.685469' WHERE "audit_rails_audits"."id" = 2
17023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17024
+  (0.0ms) SAVEPOINT active_record_1
17025
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.685469' WHERE "audit_rails_audits"."id" = 3
17026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17027
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17028
+  (0.0ms) rollback transaction
17029
+  (0.1ms) begin transaction
17030
+  (0.0ms) SAVEPOINT active_record_1
17031
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17033
+  (0.0ms) SAVEPOINT active_record_1
17034
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17036
+  (0.0ms) SAVEPOINT active_record_1
17037
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17039
+  (0.0ms) SAVEPOINT active_record_1
17040
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.696437' WHERE "audit_rails_audits"."id" = 1
17041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17042
+  (0.0ms) SAVEPOINT active_record_1
17043
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.696437' WHERE "audit_rails_audits"."id" = 2
17044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17045
+  (0.0ms) SAVEPOINT active_record_1
17046
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.696437' WHERE "audit_rails_audits"."id" = 3
17047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17048
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
17049
+  (0.0ms) rollback transaction
17050
+  (0.1ms) begin transaction
17051
+  (0.0ms) SAVEPOINT active_record_1
17052
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17054
+  (0.0ms) SAVEPOINT active_record_1
17055
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
17056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17057
+  (0.0ms) SAVEPOINT active_record_1
17058
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17060
+  (0.0ms) SAVEPOINT active_record_1
17061
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
17062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17063
+  (0.0ms) SAVEPOINT active_record_1
17064
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
17065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17066
+  (0.0ms) SAVEPOINT active_record_1
17067
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
17068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17069
+  (0.0ms) SELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action
17070
+  (0.0ms) rollback transaction
17071
+ Connecting to database specified by database.yml
17072
+  (0.3ms) begin transaction
17073
+  (0.0ms) rollback transaction
17074
+  (0.0ms) begin transaction
17075
+ Processing by AnonymousController#login as HTML
17076
+ Parameters: {"id"=>"1"}
17077
+  (0.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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17078
+  (0.0ms) SAVEPOINT active_record_1
17079
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged in"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17081
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
17082
+  (0.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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17083
+  (0.0ms) rollback transaction
17084
+  (0.1ms) begin transaction
17085
+  (0.0ms) SAVEPOINT active_record_1
17086
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17088
+  (0.0ms) SAVEPOINT active_record_1
17089
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17091
+  (0.0ms) SAVEPOINT active_record_1
17092
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17094
+  (0.0ms) SAVEPOINT active_record_1
17095
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17097
+  (0.0ms) SAVEPOINT active_record_1
17098
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17100
+  (0.0ms) SAVEPOINT active_record_1
17101
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17103
+  (0.0ms) SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
17104
+  (0.0ms) rollback transaction
17105
+  (0.1ms) begin transaction
17106
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17107
+  (0.0ms) rollback transaction
17108
+  (0.1ms) begin transaction
17109
+  (0.0ms) SAVEPOINT active_record_1
17110
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17112
+  (0.0ms) 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-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17113
+  (0.0ms) rollback transaction
17114
+  (0.1ms) begin transaction
17115
+  (0.0ms) SAVEPOINT active_record_1
17116
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17118
+  (0.0ms) SAVEPOINT active_record_1
17119
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17121
+  (0.0ms) SAVEPOINT active_record_1
17122
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17124
+  (0.0ms) SAVEPOINT active_record_1
17125
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17127
+  (0.0ms) SAVEPOINT active_record_1
17128
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit"], ["controller", "home"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17130
+  (0.0ms) SAVEPOINT active_record_1
17131
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "session"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17133
+  (0.0ms) SELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action
17134
+  (0.0ms) rollback transaction
17135
+  (0.1ms) begin transaction
17136
+  (0.0ms) SAVEPOINT active_record_1
17137
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17139
+  (0.0ms) SAVEPOINT active_record_1
17140
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17142
+  (0.0ms) SAVEPOINT active_record_1
17143
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17145
+  (0.0ms) SAVEPOINT active_record_1
17146
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.919418' WHERE "audit_rails_audits"."id" = 1
17147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17148
+  (0.0ms) SAVEPOINT active_record_1
17149
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.919418' WHERE "audit_rails_audits"."id" = 2
17150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17151
+  (0.0ms) SAVEPOINT active_record_1
17152
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.919418' WHERE "audit_rails_audits"."id" = 3
17153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17154
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
17155
+  (0.0ms) rollback transaction
17156
+  (0.1ms) begin transaction
17157
+  (0.0ms) SAVEPOINT active_record_1
17158
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17160
+  (0.0ms) SAVEPOINT active_record_1
17161
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17163
+  (0.0ms) SAVEPOINT active_record_1
17164
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17166
+  (0.0ms) SAVEPOINT active_record_1
17167
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.931213' WHERE "audit_rails_audits"."id" = 1
17168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17169
+  (0.0ms) SAVEPOINT active_record_1
17170
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.931213' WHERE "audit_rails_audits"."id" = 2
17171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17172
+  (0.0ms) SAVEPOINT active_record_1
17173
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.931213' WHERE "audit_rails_audits"."id" = 3
17174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17175
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
17176
+  (0.0ms) rollback transaction
17177
+  (0.1ms) begin transaction
17178
+  (0.0ms) SAVEPOINT active_record_1
17179
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17181
+  (0.0ms) SAVEPOINT active_record_1
17182
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17184
+  (0.0ms) SAVEPOINT active_record_1
17185
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
17186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17187
+  (0.0ms) SAVEPOINT active_record_1
17188
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.944901' WHERE "audit_rails_audits"."id" = 1
17189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17190
+  (0.0ms) SAVEPOINT active_record_1
17191
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.944901' WHERE "audit_rails_audits"."id" = 2
17192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17193
+  (0.0ms) SAVEPOINT active_record_1
17194
+  (0.0ms) UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.944901' WHERE "audit_rails_audits"."id" = 3
17195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17196
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17197
+  (0.0ms) rollback transaction
17198
+  (0.1ms) begin transaction
17199
+ Processing by AuditRails::AuditsController#create as HTML
17200
+  (0.0ms) SAVEPOINT active_record_1
17201
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17203
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
17204
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
17205
+  (0.0ms) rollback transaction
17206
+  (0.1ms) begin transaction
17207
+  (0.0ms) rollback transaction
17208
+  (0.1ms) begin transaction
17209
+  (0.0ms) rollback transaction
17210
+  (0.1ms) begin transaction
17211
+  (0.0ms) rollback transaction
17212
+  (0.1ms) begin transaction
17213
+ Processing by AuditRails::AuditsController#analytics as HTML
17214
+  (0.0ms) SELECT COUNT(*) FROM "audit_rails_audits" 
17215
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
17216
+  (0.0ms) rollback transaction
17217
+  (0.0ms) begin transaction
17218
+  (0.0ms) SAVEPOINT active_record_1
17219
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-08 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17221
+  (0.0ms) SAVEPOINT active_record_1
17222
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-07 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17224
+  (0.0ms) SAVEPOINT active_record_1
17225
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-06 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17227
+ Processing by AuditRails::AuditsController#index as HTML
17228
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
17229
+ AuditRails::Audit Load (0.0ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
17230
+  (0.0ms) rollback transaction
17231
+  (0.1ms) begin transaction
17232
+  (0.0ms) SAVEPOINT active_record_1
17233
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 08 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-08 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17235
+  (0.0ms) SAVEPOINT active_record_1
17236
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 07 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-07 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17238
+  (0.0ms) SAVEPOINT active_record_1
17239
+ SQL (0.0ms) INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 06 Nov 2013 07:53:03 UTC +00:00], ["description", "User logged on at 2013-11-06 07:53:03 UTC"], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
17240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
17241
+ Processing by AuditRails::AuditsController#index as XLS
17242
+ AuditRails::Audit Load (0.0ms) SELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC
17243
+ Sent data audits.xls (0.0ms)
17244
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
17245
+  (0.0ms) rollback transaction
@@ -55,11 +55,11 @@ describe AuditRails::Audit do
55
55
  john = "John Smith"
56
56
  fake = "Fake User"
57
57
  audit = 3.times{
58
- AuditRails::Audit.create!(:action => action = "Visit", :user_name => john)
59
- AuditRails::Audit.create!(:action => action = "login", :user_name => fake)
58
+ AuditRails::Audit.create!(:action => action = "visit", :user_name => john, :controller => 'home')
59
+ AuditRails::Audit.create!(:action => action = "login", :user_name => fake, :controller => 'session')
60
60
  }
61
61
 
62
- AuditRails::Audit.analysis_by_page_views.should == {'login' => 3, 'Visit' => 3}
62
+ AuditRails::Audit.analysis_by_page_views.should == {['session', 'login'] => 3, ['home','visit'] => 3}
63
63
  end
64
64
  end
65
65
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gourav Tiwari