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 +4 -4
- data/app/views/audit_rails/audits/_page_views.html.erb +1 -1
- data/app/views/audit_rails/audits/_user_clicks.html.erb +1 -1
- data/app/views/layouts/audit_rails/application.html.erb +4 -0
- data/lib/audit_rails/version.rb +1 -1
- data/spec/dummy/log/test.log +466 -0
- data/spec/models/audit_rails/audit_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcbbfbe40a9d662d5e882bcd8dce0766697bbd94
|
4
|
+
data.tar.gz: 102ab2d49e89f1f54534ee833eb896d0498141b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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>
|
data/lib/audit_rails/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -16777,3 +16777,469 @@ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
|
16777
16777
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16778
16778
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller, action AS controller_action FROM "audit_rails_audits" GROUP BY controller, action[0m
|
16779
16779
|
[1m[35m (0.0ms)[0m rollback transaction
|
16780
|
+
Connecting to database specified by database.yml
|
16781
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16783
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16786
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16789
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16795
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16797
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16798
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16800
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16801
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16804
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16806
|
+
Processing by AuditRails::AuditsController#index as XLS
|
16807
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
16808
|
+
Sent data audits.xls (0.0ms)
|
16809
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16812
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
16813
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits"
|
16814
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16815
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16817
|
+
Processing by AuditRails::AuditsController#create as HTML
|
16818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16819
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16821
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16822
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16825
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16827
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16829
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16830
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16831
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16832
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16833
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16834
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16835
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16836
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16837
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16838
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16839
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16841
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.585453' WHERE "audit_rails_audits"."id" = 1[0m
|
16842
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16843
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16844
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.585453' WHERE "audit_rails_audits"."id" = 2
|
16845
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16847
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.585453' WHERE "audit_rails_audits"."id" = 3[0m
|
16848
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16849
|
+
[1m[36m (0.0ms)[0m [1mSELECT 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')[0m
|
16850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16853
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16854
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16856
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16857
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16859
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16862
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.599013' WHERE "audit_rails_audits"."id" = 1
|
16863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16865
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.599013' WHERE "audit_rails_audits"."id" = 2[0m
|
16866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16868
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.599013' WHERE "audit_rails_audits"."id" = 3
|
16869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16870
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
16871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16874
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16875
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16876
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16877
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16878
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16880
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16881
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16882
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16883
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:51:19.608734' WHERE "audit_rails_audits"."id" = 1[0m
|
16884
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16885
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16886
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:51:19.608734' WHERE "audit_rails_audits"."id" = 2
|
16887
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16889
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:51:19.608734' WHERE "audit_rails_audits"."id" = 3[0m
|
16890
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16891
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16892
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16893
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16894
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16895
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16896
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16897
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16898
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16899
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16901
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16904
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16907
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16910
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16912
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action
|
16913
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16914
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16916
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16917
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16919
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16920
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16922
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16925
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16927
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16928
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16929
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16931
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "Fake User"]]
|
16932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16933
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
16934
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16936
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16937
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16938
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16939
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16940
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:51:19 UTC +00:00], ["user_name", "John Smith"]]
|
16941
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16942
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16943
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16945
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16947
|
+
Processing by AnonymousController#login as HTML
|
16948
|
+
Parameters: {"id"=>"1"}
|
16949
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16951
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16953
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
16954
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16955
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16956
|
+
Connecting to database specified by database.yml
|
16957
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16959
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16960
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16961
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
16962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16964
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
16965
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
16966
|
+
[1m[35m (0.0ms)[0m begin transaction
|
16967
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16968
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16969
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16970
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16971
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
|
16972
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16973
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16974
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16975
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16976
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16977
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
|
16978
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16979
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16980
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16983
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "Fake User"]]
|
16984
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16985
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
16986
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16989
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16991
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16992
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
16994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
16995
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
16996
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16997
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
16998
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.671025' WHERE "audit_rails_audits"."id" = 1
|
16999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17001
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.671025' WHERE "audit_rails_audits"."id" = 2[0m
|
17002
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17004
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.671025' WHERE "audit_rails_audits"."id" = 3
|
17005
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17006
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
17007
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17008
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17009
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17010
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17011
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17013
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17016
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17017
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17018
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17019
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.685469' WHERE "audit_rails_audits"."id" = 1[0m
|
17020
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17021
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17022
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.685469' WHERE "audit_rails_audits"."id" = 2
|
17023
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17024
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17025
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.685469' WHERE "audit_rails_audits"."id" = 3[0m
|
17026
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17027
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')[0m
|
17028
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17031
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17034
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17035
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17037
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:00 UTC +00:00], ["user_name", "John Smith"]]
|
17038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17040
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:00.696437' WHERE "audit_rails_audits"."id" = 1
|
17041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17043
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:00.696437' WHERE "audit_rails_audits"."id" = 2[0m
|
17044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17045
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17046
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:00.696437' WHERE "audit_rails_audits"."id" = 3
|
17047
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17048
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
17049
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17051
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17052
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17055
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17058
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17061
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17064
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17067
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17069
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action[0m
|
17070
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17071
|
+
Connecting to database specified by database.yml
|
17072
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
17073
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17075
|
+
Processing by AnonymousController#login as HTML
|
17076
|
+
Parameters: {"id"=>"1"}
|
17077
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17079
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Sat, 09 Nov 2013 07: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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17081
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
17082
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17086
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17087
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17089
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
|
17090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17091
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17092
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17093
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17094
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17095
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
|
17096
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17097
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17098
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17099
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17101
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
|
17102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17103
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
17104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17106
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17110
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17112
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17113
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17116
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17119
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17122
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17124
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17125
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17128
|
+
[1m[35mSQL (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17131
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17133
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) AS count_all, controller AS controller, action AS action FROM "audit_rails_audits" GROUP BY controller, action[0m
|
17134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17137
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17140
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17143
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17146
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.919418' WHERE "audit_rails_audits"."id" = 1
|
17147
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17149
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.919418' WHERE "audit_rails_audits"."id" = 2[0m
|
17150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17152
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.919418' WHERE "audit_rails_audits"."id" = 3
|
17153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17154
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '2013-11-05 00:00:00.000000' AND '2013-11-08 23:59:59.999999')
|
17155
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17158
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17160
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17161
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17164
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17167
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.931213' WHERE "audit_rails_audits"."id" = 1[0m
|
17168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17170
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.931213' WHERE "audit_rails_audits"."id" = 2
|
17171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17173
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.931213' WHERE "audit_rails_audits"."id" = 3[0m
|
17174
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17175
|
+
[1m[36m (0.0ms)[0m [1mSELECT 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')[0m
|
17176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17178
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17179
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17180
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17181
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17182
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17183
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17184
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17185
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "John Smith"]]
|
17186
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17187
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17188
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-07 07:53:03.944901' WHERE "audit_rails_audits"."id" = 1
|
17189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17190
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17191
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "audit_rails_audits" SET "created_at" = '2013-11-06 07:53:03.944901' WHERE "audit_rails_audits"."id" = 2[0m
|
17192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17194
|
+
[1m[35m (0.0ms)[0m UPDATE "audit_rails_audits" SET "created_at" = '2013-11-04 07:53:03.944901' WHERE "audit_rails_audits"."id" = 3
|
17195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17196
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE ("audit_rails_audits"."created_at" BETWEEN '1970-01-01 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17197
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17199
|
+
Processing by AuditRails::AuditsController#create as HTML
|
17200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17201
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["description", nil], ["updated_at", Sat, 09 Nov 2013 07:53:03 UTC +00:00], ["user_name", "Fake User"]]
|
17202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17203
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
17204
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-11-09 00:00:00.000000' AND '2013-11-09 23:59:59.999999')
|
17205
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17207
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17209
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17211
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17213
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
17214
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" [0m
|
17215
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
17216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17217
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17218
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17219
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17221
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17222
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17224
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17225
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
17230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17232
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17233
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
17236
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
17238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
17239
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
17241
|
+
Processing by AuditRails::AuditsController#index as XLS
|
17242
|
+
[1m[36mAuditRails::Audit Load (0.0ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" ORDER BY created_at DESC[0m
|
17243
|
+
Sent data audits.xls (0.0ms)
|
17244
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
17245
|
+
[1m[35m (0.0ms)[0m 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 = "
|
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, '
|
62
|
+
AuditRails::Audit.analysis_by_page_views.should == {['session', 'login'] => 3, ['home','visit'] => 3}
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|