audit_rails 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +98 -0
- data/app/assets/javascripts/{Chart.min.js → audit_rails/Chart.min.js} +0 -0
- data/app/controllers/audit_rails/audits_controller.rb +1 -0
- data/app/views/audit_rails/audits/analytics.html.erb +6 -7
- data/config/routes.rb +1 -0
- data/lib/audit_rails/version.rb +1 -1
- data/spec/controllers/audit_rails/audits_controller_spec.rb +2 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +24 -0
- data/spec/dummy/log/test.log +660 -0
- metadata +4 -4
- data/README.rdoc +0 -85
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2RmMDljYzFkMDg4ZjNmZDkxMDEzNDQzMzQ2MTU4YmUyOGE1ZGU3YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmM2YjI2YTkyZWI4ODUzYTJkNjBlMzAzNDc0ZDI2NzM3NDdjYTMwNA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGQ2ODQwZjYyOTYzMDNjYWVjMjVkNDcyYmMzNzY5Y2FmNjEwMzJhOTVjZDVj
|
10
|
+
NTBlMTU5NjE4ZWI3YzAwOTExNGE0ZTNlMzZiMTQ1MjFjN2FlNWIwOGNhNDVl
|
11
|
+
Y2IzYTI3YWU5YjFmNzk1ZDFlZTQwY2NkZDMxOTY3ZGJmMDE3OGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTE4OTFkOWYwNjE4NTk5ZDViNWRhYWQwNTBiZmFkODQ5NjVhZjYzMDhmY2Rm
|
14
|
+
MTFhNGI5NjkxMjU1ODFjNzVmY2JkZjI5MTRhOWUwOTU3ZTZlNDU2ODA5MDhm
|
15
|
+
MDgyZjA1ODFiNWRlM2U2MjZkMGYwZmE2MzgzZWRkZDRiZmU5YjQ=
|
data/README.md
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
## AuditRails
|
2
|
+
[](http://badge.fury.io/rb/audit_rails)
|
3
|
+
|
4
|
+
An action based auditor, which has internal as well as outgoing link tracking.
|
5
|
+
|
6
|
+
It is inspired from many great audit gems in rails community that audits model and I was looking for a gem which can audit based on actions as well as can audit link tracking. This gem just serve this purpose.
|
7
|
+
|
8
|
+
Roughly it is doing similar to what Omniture does, but has very minimum features for now.
|
9
|
+
|
10
|
+
Now also has analytics(charts) for User counts
|
11
|
+
|
12
|
+
#### User visit & page view count:
|
13
|
+

|
14
|
+

|
15
|
+
|
16
|
+
### Build Status
|
17
|
+
[](https://travis-ci.org/gouravtiwari/audit_rails)
|
18
|
+
|
19
|
+
### Pre-requisites:
|
20
|
+
For rails 3.x.x and ruby>1.9.2:
|
21
|
+
|
22
|
+
gem install audit_rails
|
23
|
+
|
24
|
+
or in application’s Gemfile add:
|
25
|
+
|
26
|
+
gem ‘audit_rails’
|
27
|
+
|
28
|
+
### Install
|
29
|
+
|
30
|
+
rails g audit_rails:install
|
31
|
+
|
32
|
+
### Usage
|
33
|
+
#### To add audit migration:
|
34
|
+
|
35
|
+
rake audit_rails:install:migrations
|
36
|
+
|
37
|
+
#### Add audit.js to application.js file:
|
38
|
+
|
39
|
+
//= require audit_rails/audit
|
40
|
+
//= require audit_rails/Chart.min
|
41
|
+
|
42
|
+
#### To add additional attributes to Audit (let's say book_id):
|
43
|
+
|
44
|
+
Add attributes to migration generated from above rake task
|
45
|
+
|
46
|
+
Inherit from AuditRails::Audit:
|
47
|
+
|
48
|
+
# MyApp/app/models/audit.rb
|
49
|
+
class Audit < AuditRails::Audit
|
50
|
+
attr_accessible :action, :controller, :description, :user_name,
|
51
|
+
:book_id
|
52
|
+
# add associations as usual:
|
53
|
+
belongs_to :book
|
54
|
+
end
|
55
|
+
|
56
|
+
#### To log user events
|
57
|
+
Simply call 'add_to_audit' with desired parameters in any controller (as this is now a helper method included in application_controller.rb of application)
|
58
|
+
|
59
|
+
#### To override controller's add_to_audit method (or the helper method)
|
60
|
+
Simply re-implement in application_controller.rb
|
61
|
+
|
62
|
+
#### To track user login (one per day)
|
63
|
+
Override current_user method in application controller, e.g.:
|
64
|
+
|
65
|
+
def current_user
|
66
|
+
add_to_audit('login', 'sessions', "John Smith")
|
67
|
+
super
|
68
|
+
end
|
69
|
+
|
70
|
+
#### To see all audits
|
71
|
+
|
72
|
+
Go to <app-url>/audit_rails/audits
|
73
|
+
|
74
|
+
#### To see Analytics
|
75
|
+
|
76
|
+
Go to <app-url>/audit_rails/audits/analytics
|
77
|
+
|
78
|
+
#### To download the audit report as xls file:
|
79
|
+
Add this to initializers/mime_types.rb
|
80
|
+
|
81
|
+
Mime::Type.register "application/vnd.ms-excel", :xls
|
82
|
+
|
83
|
+
Use below link in views:
|
84
|
+
|
85
|
+
link_to audit_rails.audits_path(:format => "xls")
|
86
|
+
|
87
|
+
### Changelog
|
88
|
+
|
89
|
+
https://github.com/gouravtiwari/audit_rails/blob/master/CHANGELOG.rdoc
|
90
|
+
|
91
|
+
### Contribute
|
92
|
+
|
93
|
+
You are welcome to contribute and add more feature to this gem. I have added rspec and guard to it to run tests quickly. So running specs shouldn't be a problem.
|
94
|
+
|
95
|
+
Please fork it, add specs and send a pull request!
|
96
|
+
|
97
|
+
### License
|
98
|
+
This project rocks and uses MIT-LICENSE.
|
File without changes
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<%=
|
2
|
-
<div id='analyticsByUser'>User clicks</div>
|
1
|
+
<div id='analyticsByUser'>Total user clicks : <%= @total %></div>
|
3
2
|
<br/>
|
4
3
|
<canvas id="userViews" height="450" width="600"></canvas>
|
5
4
|
|
@@ -10,7 +9,7 @@
|
|
10
9
|
labels : <%= "#{@analysis_by_user_name.keys}".html_safe %>,
|
11
10
|
datasets : [
|
12
11
|
{
|
13
|
-
fillColor : "rgba(
|
12
|
+
fillColor : "rgba(151,187,205,0.5)",
|
14
13
|
strokeColor : "rgba(220,220,220,1)",
|
15
14
|
pointColor : "rgba(220,220,220,1)",
|
16
15
|
pointStrokeColor : "#fff",
|
@@ -20,11 +19,11 @@
|
|
20
19
|
|
21
20
|
}
|
22
21
|
|
23
|
-
var myBar = new Chart(document.getElementById("userViews").getContext("2d")).Bar(barChartData);
|
22
|
+
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});
|
24
23
|
|
25
24
|
</script>
|
26
25
|
|
27
|
-
<div id='analyticsByPage'>
|
26
|
+
<div id='analyticsByPage'>Total page views: <%= @total %></div>
|
28
27
|
<br/>
|
29
28
|
<canvas id="pageViews" height="450" width="600"></canvas>
|
30
29
|
|
@@ -35,7 +34,7 @@
|
|
35
34
|
labels : <%= "#{@analysis_by_page_views.keys}".html_safe %>,
|
36
35
|
datasets : [
|
37
36
|
{
|
38
|
-
fillColor : "rgba(
|
37
|
+
fillColor : "rgba(151,187,205,0.5)",
|
39
38
|
strokeColor : "rgba(220,220,220,1)",
|
40
39
|
pointColor : "rgba(220,220,220,1)",
|
41
40
|
pointStrokeColor : "#fff",
|
@@ -45,6 +44,6 @@
|
|
45
44
|
|
46
45
|
}
|
47
46
|
|
48
|
-
var myLine = new Chart(document.getElementById("pageViews").getContext("2d")).Line(lineChartData);
|
47
|
+
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});
|
49
48
|
|
50
49
|
</script>
|
data/config/routes.rb
CHANGED
data/lib/audit_rails/version.rb
CHANGED
@@ -58,11 +58,13 @@ describe AuditRails::AuditsController do
|
|
58
58
|
context "GET analytics" do
|
59
59
|
it "shows analytics of audits on page" do
|
60
60
|
# list should be a hash
|
61
|
+
AuditRails::Audit.stub(:count).and_return(count = 18)
|
61
62
|
AuditRails::Audit.stub(:analysis_by_user_name).and_return(user_list = {"Fake User"=>6, "John Smith"=>3})
|
62
63
|
AuditRails::Audit.stub(:analysis_by_page_views).and_return(page_list = {"visit-site"=>6, "login"=>3})
|
63
64
|
|
64
65
|
get 'analytics'
|
65
66
|
|
67
|
+
expect(assigns(:total)).to eq(count)
|
66
68
|
expect(assigns(:analysis_by_user_name)).to eq(user_list)
|
67
69
|
expect(assigns(:analysis_by_page_views)).to eq(page_list)
|
68
70
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -539,3 +539,27 @@ Connecting to database specified by database.yml
|
|
539
539
|
[1m[36m (1.6ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
540
540
|
[1m[35m (0.8ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
541
541
|
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
542
|
+
Connecting to database specified by database.yml
|
543
|
+
[1m[36m (1.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
544
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
545
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
546
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
547
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
548
|
+
Connecting to database specified by database.yml
|
549
|
+
[1m[36m (2.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
550
|
+
[1m[35m (0.7ms)[0m select sqlite_version(*)
|
551
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
552
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
553
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
554
|
+
Connecting to database specified by database.yml
|
555
|
+
[1m[36m (3.7ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
556
|
+
[1m[35m (0.7ms)[0m select sqlite_version(*)
|
557
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
558
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
559
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
560
|
+
Connecting to database specified by database.yml
|
561
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
562
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
563
|
+
[1m[36m (1.6ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
564
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "audit_rails_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action" varchar(255), "controller" varchar(255), "description" varchar(255), "user_name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
565
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -4771,3 +4771,663 @@ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms)
|
|
4771
4771
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4772
4772
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
4773
4773
|
[1m[35m (0.4ms)[0m rollback transaction
|
4774
|
+
Connecting to database specified by database.yml
|
4775
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4776
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4777
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/analytics.html.erb within layouts/audit_rails/application (2.5ms)
|
4778
|
+
Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms)
|
4779
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4782
|
+
[1m[36mSQL (6.0ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-23 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4783
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4785
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-22 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4786
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4788
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-21 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4790
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4791
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4792
|
+
Sent data audits.xls (2.5ms)
|
4793
|
+
Completed 200 OK in 15ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
4794
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4796
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4797
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-23 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4798
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4799
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4800
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-22 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4802
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4803
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged on at 2013-09-21 04:23:40 UTC"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4804
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4805
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4806
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4807
|
+
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
4808
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4810
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4812
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4813
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4814
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
4815
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')[0m
|
4816
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4817
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4818
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4820
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4822
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4823
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4824
|
+
Processing by AnonymousController#login as HTML
|
4825
|
+
Parameters: {"id"=>"1"}
|
4826
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4828
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", "User logged in"], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4830
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
4831
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4832
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
4833
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4834
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4835
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4836
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4837
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4838
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4839
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4841
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4842
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4844
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4847
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4848
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4849
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4850
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4852
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4853
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4856
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4857
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4858
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')[0m
|
4859
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4861
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-24 00:00:00.000000' AND '2013-09-24 23:59:59.999999')
|
4862
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
4863
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4864
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4865
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4866
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4868
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4871
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4872
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4874
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4877
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "John Smith"]]
|
4878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4880
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["description", nil], ["updated_at", Tue, 24 Sep 2013 04:23:40 UTC +00:00], ["user_name", "Fake User"]]
|
4881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4882
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
4883
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4884
|
+
Connecting to database specified by database.yml
|
4885
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4886
|
+
Processing by AnonymousController#login as HTML
|
4887
|
+
Parameters: {"id"=>"1"}
|
4888
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-25 00:00:00.000000' AND '2013-09-25 23:59:59.999999')
|
4889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4890
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged in"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4892
|
+
Rendered text template (0.0ms)
|
4893
|
+
Completed 200 OK in 51ms (Views: 28.0ms | ActiveRecord: 3.8ms)
|
4894
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-25 00:00:00.000000' AND '2013-09-25 23:59:59.999999')
|
4895
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4896
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4897
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-25 00:00:00.000000' AND '2013-09-25 23:59:59.999999')[0m
|
4898
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4901
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4903
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-25 00:00:00.000000' AND '2013-09-25 23:59:59.999999')[0m
|
4904
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4907
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4910
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4913
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4914
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4916
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4917
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4919
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4920
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4922
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4924
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
4925
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
4926
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4927
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4928
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4929
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4931
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4934
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4935
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4936
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4937
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4938
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4939
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4940
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "John Smith"]]
|
4941
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4942
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4943
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4945
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
4946
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4948
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4952
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4954
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
4955
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
4956
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4958
|
+
Processing by AuditRails::AuditsController#create as HTML
|
4959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4960
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", nil], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4962
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
4963
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-25 00:00:00.000000' AND '2013-09-25 23:59:59.999999')[0m
|
4964
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4965
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4966
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4967
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-24 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4968
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4969
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
4970
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-23 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4972
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4973
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-22 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4974
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4975
|
+
Processing by AuditRails::AuditsController#index as HTML
|
4976
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4977
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
4978
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
4979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4980
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4981
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-24 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4983
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
4984
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-23 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4985
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
4987
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["description", "User logged on at 2013-09-22 05:18:36 UTC"], ["updated_at", Wed, 25 Sep 2013 05:18:36 UTC +00:00], ["user_name", "Fake User"]]
|
4988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
4989
|
+
Processing by AuditRails::AuditsController#index as XLS
|
4990
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
4991
|
+
Sent data audits.xls (0.5ms)
|
4992
|
+
Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
4993
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
4994
|
+
Connecting to database specified by database.yml
|
4995
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4996
|
+
Processing by AnonymousController#login as HTML
|
4997
|
+
Parameters: {"id"=>"1"}
|
4998
|
+
[1m[35m (1.8ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-26 00:00:00.000000' AND '2013-09-26 23:59:59.999999')
|
4999
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5000
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", "User logged in"], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5001
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5002
|
+
Rendered text template (0.0ms)
|
5003
|
+
Completed 200 OK in 58ms (Views: 31.1ms | ActiveRecord: 4.7ms)
|
5004
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-26 00:00:00.000000' AND '2013-09-26 23:59:59.999999')
|
5005
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5007
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-26 00:00:00.000000' AND '2013-09-26 23:59:59.999999')[0m
|
5008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5010
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5011
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5013
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-26 00:00:00.000000' AND '2013-09-26 23:59:59.999999')[0m
|
5014
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5017
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5018
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5019
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5020
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5021
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5022
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5023
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5026
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5027
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5029
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5032
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
5035
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
5036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5037
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5038
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5041
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5044
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5047
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5050
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "John Smith"]]
|
5051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5052
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5053
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:18 UTC +00:00], ["user_name", "Fake User"]]
|
5054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5055
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
5056
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5058
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5060
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5064
|
+
Processing by AuditRails::AuditsController#create as HTML
|
5065
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5066
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", nil], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5067
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5068
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
5069
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-26 00:00:00.000000' AND '2013-09-26 23:59:59.999999')[0m
|
5070
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
5071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5072
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5073
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-25 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5074
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5075
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5076
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-24 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5077
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5078
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5079
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-23 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5080
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5081
|
+
Processing by AuditRails::AuditsController#index as HTML
|
5082
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
5083
|
+
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.1ms)
|
5084
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5086
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5087
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-25 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5088
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5089
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5090
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-24 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5091
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5092
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5093
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["description", "User logged on at 2013-09-23 03:48:19 UTC"], ["updated_at", Thu, 26 Sep 2013 03:48:19 UTC +00:00], ["user_name", "Fake User"]]
|
5094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5095
|
+
Processing by AuditRails::AuditsController#index as XLS
|
5096
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
5097
|
+
Sent data audits.xls (0.5ms)
|
5098
|
+
Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
5099
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5101
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
5102
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
5103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5104
|
+
Connecting to database specified by database.yml
|
5105
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5106
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5107
|
+
[1m[36mSQL (9.9ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5110
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5113
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5116
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5119
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5122
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5124
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action
|
5125
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
5126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5128
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5131
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5134
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5137
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5140
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5143
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5145
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
5146
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
5147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5148
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5149
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5152
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "John Smith"]]
|
5153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5154
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5155
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5157
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
5158
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/analytics.html.erb within layouts/audit_rails/application (2.8ms)
|
5159
|
+
Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
|
5160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5163
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-26 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5166
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-25 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5167
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5168
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5169
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-24 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5170
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5171
|
+
Processing by AuditRails::AuditsController#index as HTML
|
5172
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
5173
|
+
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
5174
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5176
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5177
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-26 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5179
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5180
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-25 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5183
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged on at 2013-09-24 03:15:05 UTC"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5185
|
+
Processing by AuditRails::AuditsController#index as XLS
|
5186
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
5187
|
+
Sent data audits.xls (3.1ms)
|
5188
|
+
Completed 200 OK in 16ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
5189
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5191
|
+
Processing by AuditRails::AuditsController#create as HTML
|
5192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5193
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5195
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
5196
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5197
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5201
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5202
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5203
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5204
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5205
|
+
Processing by AnonymousController#login as HTML
|
5206
|
+
Parameters: {"id"=>"1"}
|
5207
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')[0m
|
5208
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5209
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 27 Sep 2013 03:15:05 UTC +00:00], ["user_name", "Fake User"]]
|
5210
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5211
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
5212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')[0m
|
5213
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5214
|
+
Connecting to database specified by database.yml
|
5215
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5216
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
5217
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/analytics.html.erb within layouts/audit_rails/application (2.2ms)
|
5218
|
+
Completed 200 OK in 30ms (Views: 29.5ms | ActiveRecord: 0.0ms)
|
5219
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5222
|
+
[1m[36mSQL (5.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-26 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5223
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5225
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-25 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5227
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5228
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-24 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5230
|
+
Processing by AuditRails::AuditsController#index as HTML
|
5231
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
5232
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
5233
|
+
[1m[35m (4.3ms)[0m rollback transaction
|
5234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5236
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-26 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5239
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-25 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5241
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5242
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged on at 2013-09-24 03:44:58 UTC"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5244
|
+
Processing by AuditRails::AuditsController#index as XLS
|
5245
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
5246
|
+
Sent data audits.xls (22.9ms)
|
5247
|
+
Completed 200 OK in 35ms (Views: 22.8ms | ActiveRecord: 0.1ms)
|
5248
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5250
|
+
Processing by AuditRails::AuditsController#create as HTML
|
5251
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5252
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5253
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5254
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
5255
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')[0m
|
5256
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5258
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5260
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5261
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5264
|
+
Processing by AnonymousController#login as HTML
|
5265
|
+
Parameters: {"id"=>"1"}
|
5266
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5267
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5268
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5270
|
+
Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)
|
5271
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5272
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
5273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5274
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5275
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5276
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5278
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5281
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5282
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5284
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5285
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5287
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5290
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5292
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name[0m
|
5293
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5295
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5296
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5299
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5301
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5302
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5304
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5305
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5308
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5311
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5314
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5317
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "John Smith"]]
|
5318
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5320
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 03:44:58 UTC +00:00], ["user_name", "Fake User"]]
|
5321
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5322
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
5323
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5324
|
+
Connecting to database specified by database.yml
|
5325
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5326
|
+
Processing by AnonymousController#login as HTML
|
5327
|
+
Parameters: {"id"=>"1"}
|
5328
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5329
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5330
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "anonymous"], ["created_at", Fri, 27 Sep 2013 17:00:43 UTC +00:00], ["description", "User logged in"], ["updated_at", Fri, 27 Sep 2013 17:00:43 UTC +00:00], ["user_name", "Fake User"]]
|
5331
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5332
|
+
Rendered text template (0.0ms)
|
5333
|
+
Completed 200 OK in 52ms (Views: 11.3ms | ActiveRecord: 3.8ms)
|
5334
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5335
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5337
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5338
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-26 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5341
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-25 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5342
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5344
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-24 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5346
|
+
Processing by AuditRails::AuditsController#index as HTML
|
5347
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
5348
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)
|
5349
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5352
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-26 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5355
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-25 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5356
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5357
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5358
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", "User logged on at 2013-09-24 17:00:44 UTC"], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5359
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5360
|
+
Processing by AuditRails::AuditsController#index as XLS
|
5361
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
5362
|
+
Sent data audits.xls (0.5ms)
|
5363
|
+
Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
5364
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
5365
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5366
|
+
Processing by AuditRails::AuditsController#analytics as HTML
|
5367
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
5368
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5370
|
+
Processing by AuditRails::AuditsController#create as HTML
|
5371
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5372
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5373
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5374
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
5375
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')
|
5376
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5377
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5378
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5380
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5382
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5384
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')[0m
|
5385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5388
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5390
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John Smith' AND ("audit_rails_audits"."created_at" BETWEEN '2013-09-27 00:00:00.000000' AND '2013-09-27 23:59:59.999999')[0m
|
5391
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5394
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5395
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5396
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5397
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5398
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5399
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5400
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5403
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5405
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5406
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5409
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5411
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, user_name AS user_name FROM "audit_rails_audits" GROUP BY user_name
|
5412
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5415
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5417
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5418
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5419
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5421
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5422
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5423
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5424
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5426
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5427
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "Visit"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "John Smith"]]
|
5428
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5430
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["description", nil], ["updated_at", Fri, 27 Sep 2013 17:00:44 UTC +00:00], ["user_name", "Fake User"]]
|
5431
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5432
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, controller,action AS controller_action FROM "audit_rails_audits" GROUP BY controller,action[0m
|
5433
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audit_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gourav Tiwari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -202,7 +202,7 @@ extra_rdoc_files: []
|
|
202
202
|
files:
|
203
203
|
- app/assets/javascripts/audit_rails/application.js
|
204
204
|
- app/assets/javascripts/audit_rails/audit.js
|
205
|
-
- app/assets/javascripts/Chart.min.js
|
205
|
+
- app/assets/javascripts/audit_rails/Chart.min.js
|
206
206
|
- app/assets/stylesheets/audit_rails/application.css
|
207
207
|
- app/assets/stylesheets/audit_rails/scaffold.css
|
208
208
|
- app/controllers/audit_rails/application_controller.rb
|
@@ -223,7 +223,7 @@ files:
|
|
223
223
|
- lib/tasks/audit_rails_tasks.rake
|
224
224
|
- MIT-LICENSE
|
225
225
|
- Rakefile
|
226
|
-
- README.
|
226
|
+
- README.md
|
227
227
|
- spec/controllers/audit_rails/application_controller_spec.rb
|
228
228
|
- spec/controllers/audit_rails/audits_controller_spec.rb
|
229
229
|
- spec/dummy/app/assets/javascripts/application.js
|
data/README.rdoc
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
= AuditRails
|
2
|
-
{<img src="https://badge.fury.io/rb/audit_rails.png" alt="Gem Version" />}[http://badge.fury.io/rb/audit_rails]
|
3
|
-
|
4
|
-
An action based auditor, which has internal as well as outgoing link tracking.
|
5
|
-
|
6
|
-
Now also has analytics(charts) for User counts
|
7
|
-
|
8
|
-
It is inspired from many great audit gems in rails community that audits model and I was looking for a gem which can audit based on actions as well as can audit link tracking. This gem just serve this purpose.
|
9
|
-
|
10
|
-
Roughly it is doing similar to what Omniture does, but has very minimum features for now.
|
11
|
-
|
12
|
-
= Build Status
|
13
|
-
{<img src="https://travis-ci.org/gouravtiwari/audit_rails.png" />}[https://travis-ci.org/gouravtiwari/audit_rails]
|
14
|
-
|
15
|
-
= Pre-requisites:
|
16
|
-
For rails 3.x.x and ruby>1.9.2:
|
17
|
-
|
18
|
-
gem install audit_rails
|
19
|
-
|
20
|
-
or in application’s Gemfile add:
|
21
|
-
|
22
|
-
gem ‘audit_rails’
|
23
|
-
|
24
|
-
= Install
|
25
|
-
|
26
|
-
rails g audit_rails:install
|
27
|
-
|
28
|
-
= Usage
|
29
|
-
=== To add audit migration:
|
30
|
-
|
31
|
-
rake audit_rails:install:migrations
|
32
|
-
|
33
|
-
=== Add audit.js to application.js file:
|
34
|
-
|
35
|
-
//= require audit_rails/audit
|
36
|
-
|
37
|
-
=== To add additional attributes to Audit (let's say book_id):
|
38
|
-
1. Add attributes to migration generated from above rake task
|
39
|
-
2. Inherit from AuditRails::Audit:
|
40
|
-
#MyApp/app/models/audit.rb
|
41
|
-
class Audit < AuditRails::Audit
|
42
|
-
attr_accessible :action, :controller, :description, :user_name,
|
43
|
-
:book_id
|
44
|
-
|
45
|
-
#add associations as usual:
|
46
|
-
belongs_to :book
|
47
|
-
end
|
48
|
-
|
49
|
-
=== To log user events
|
50
|
-
Simply call 'add_to_audit' with desired parameters in any controller (as this is now a helper method included in application_controller.rb of application)
|
51
|
-
|
52
|
-
=== To override controller's add_to_audit method (or the helper method)
|
53
|
-
Simply re-implement in application_controller.rb
|
54
|
-
|
55
|
-
=== To track user login (one per day)
|
56
|
-
Override current_user method in application controller, e.g.:
|
57
|
-
def current_user
|
58
|
-
add_to_audit('login', 'sessions', "John Smith")
|
59
|
-
super
|
60
|
-
end
|
61
|
-
|
62
|
-
=== To see all audits
|
63
|
-
Go to <app-url>/audit_rails/audits
|
64
|
-
|
65
|
-
=== To see Analytics
|
66
|
-
Go to <app-url>/audit_rails/audits/analytics
|
67
|
-
|
68
|
-
=== To download the audit report as xls file:
|
69
|
-
* Add this to initializers/mime_types.rb
|
70
|
-
Mime::Type.register "application/vnd.ms-excel", :xls
|
71
|
-
|
72
|
-
* Use below link in views:
|
73
|
-
link_to audit_rails.audits_path(:format => "xls")
|
74
|
-
|
75
|
-
= Changelog
|
76
|
-
https://github.com/gouravtiwari/audit_rails/blob/master/CHANGELOG.rdoc
|
77
|
-
|
78
|
-
= Contribute
|
79
|
-
|
80
|
-
You are welcome to contribute and add more feature to this gem. I have added rspec and guard to it to run tests quickly. So running specs shouldn't be a problem.
|
81
|
-
|
82
|
-
Please fork it, add specs and send a pull request!
|
83
|
-
|
84
|
-
= License
|
85
|
-
This project rocks and uses MIT-LICENSE.
|