audit_rails 0.1.3 → 0.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.
- data/Rakefile +7 -9
- data/app/controllers/audit_rails/application_controller.rb +1 -1
- data/app/models/audit_rails/audit.rb +1 -0
- data/config/initializers/mime_types.rb +1 -0
- data/lib/audit_rails/engine.rb +7 -0
- data/lib/audit_rails/version.rb +1 -1
- data/spec/controllers/audit_rails/application_controller_spec.rb +36 -0
- data/spec/controllers/audit_rails/audits_controller_spec.rb +51 -0
- data/{test → spec}/dummy/README.rdoc +0 -0
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
- data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
- data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/{test → spec}/dummy/config/application.rb +0 -0
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -0
- data/{test → spec}/dummy/config/environments/production.rb +0 -0
- data/{test → spec}/dummy/config/environments/test.rb +0 -0
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
- data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
- data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/{test → spec}/dummy/config/routes.rb +0 -0
- data/{test → spec}/dummy/db/development.sqlite3 +0 -0
- data/{test → spec}/dummy/db/schema.rb +0 -0
- data/{test → spec}/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +136 -0
- data/spec/dummy/log/test.log +1074 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/{test → spec}/dummy/public/favicon.ico +0 -0
- data/{test → spec}/dummy/script/rails +0 -0
- data/spec/models/audit_rails/audit_spec.rb +14 -0
- data/spec/spec_helper.rb +53 -0
- metadata +78 -75
- data/test/audit_rails_test.rb +0 -7
- data/test/dummy/log/development.log +0 -492
- data/test/dummy/log/test.log +0 -56
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
data/Rakefile
CHANGED
@@ -20,21 +20,19 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
20
20
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
21
|
end
|
22
22
|
|
23
|
-
APP_RAKEFILE = File.expand_path("../
|
23
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
24
24
|
load 'rails/tasks/engine.rake'
|
25
25
|
|
26
26
|
|
27
27
|
|
28
28
|
Bundler::GemHelper.install_tasks
|
29
29
|
|
30
|
-
|
30
|
+
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
t.libs << 'test'
|
35
|
-
t.pattern = 'test/**/*_test.rb'
|
36
|
-
t.verbose = false
|
37
|
-
end
|
32
|
+
require 'rspec/core'
|
33
|
+
require 'rspec/core/rake_task'
|
38
34
|
|
35
|
+
desc "Run all specs in spec directory (excluding plugin specs)"
|
36
|
+
RSpec::Core::RakeTask.new(:spec => 'app:db:test:prepare')
|
39
37
|
|
40
|
-
task :default => :
|
38
|
+
task :default => :spec
|
@@ -5,7 +5,7 @@ module AuditRails
|
|
5
5
|
|
6
6
|
def add_to_audit(action_name=nil, controller_name=nil, user_name=nil, description=nil)
|
7
7
|
if action_name == "login"
|
8
|
-
if AuditRails::Audit.
|
8
|
+
if AuditRails::Audit.no_audit_entry_for_today?(action_name, user_name)
|
9
9
|
AuditRails::Audit.create(action: action_name, controller: controller_name, user_name: user_name, description: description)
|
10
10
|
end
|
11
11
|
else
|
@@ -0,0 +1 @@
|
|
1
|
+
Mime::Type.register "application/vnd.ms-excel", :xls
|
data/lib/audit_rails/engine.rb
CHANGED
data/lib/audit_rails/version.rb
CHANGED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AuditRails::ApplicationController do
|
4
|
+
|
5
|
+
# Sets up an anonymous controller for checking ApplicationController logic
|
6
|
+
controller do
|
7
|
+
|
8
|
+
# Either you add add_to_audit to before filter
|
9
|
+
# or you call it from current_user method
|
10
|
+
before_filter do |c|
|
11
|
+
app_controller = AuditRails::ApplicationController.new
|
12
|
+
app_controller.add_to_audit(request.params[:action], request.params[:controller], 'Fake User', 'User logged in')
|
13
|
+
end
|
14
|
+
|
15
|
+
# A fake login
|
16
|
+
def login
|
17
|
+
render :text => 'Ok'
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe 'audit login action' do
|
22
|
+
before do
|
23
|
+
# Redrawing routes is important to make sure we do not get routing error
|
24
|
+
@routes.draw do
|
25
|
+
get '/anonymous/login'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'when user logs in' do
|
30
|
+
get :login, :id => 1
|
31
|
+
|
32
|
+
response.should be_success
|
33
|
+
AuditRails::Audit.no_audit_entry_for_today?('login', 'Fake User').should be_false
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AuditRails::AuditsController do
|
4
|
+
# Need to push this to spec/routing directory
|
5
|
+
context 'routes' do
|
6
|
+
it { expect(:get => "/audits").to route_to(
|
7
|
+
:controller => "audit_rails/audits",
|
8
|
+
:action => "index" )
|
9
|
+
}
|
10
|
+
|
11
|
+
it { expect(:post => "/audits").to route_to(
|
12
|
+
:controller => "audit_rails/audits",
|
13
|
+
:action => "create" )
|
14
|
+
}
|
15
|
+
end
|
16
|
+
|
17
|
+
context "GET index" do
|
18
|
+
it "lists audits on page" do
|
19
|
+
audits = (1..3).map {|t| AuditRails::Audit.create(user_name: 'Fake User',
|
20
|
+
description: "User logged on at #{t.days.ago}",
|
21
|
+
action: 'login',
|
22
|
+
controller: 'sessions')}
|
23
|
+
|
24
|
+
get 'index'
|
25
|
+
|
26
|
+
expect(assigns(:audits)).to eq(audits)
|
27
|
+
end
|
28
|
+
|
29
|
+
|
30
|
+
it "lists audits in excel" do
|
31
|
+
audits = (1..3).map {|t| AuditRails::Audit.create(user_name: 'Fake User',
|
32
|
+
description: "User logged on at #{t.days.ago}",
|
33
|
+
action: 'login',
|
34
|
+
controller: 'sessions')}
|
35
|
+
|
36
|
+
get 'index', format: 'xls'
|
37
|
+
|
38
|
+
response.should be_success
|
39
|
+
expect(assigns(:audits)).to eq(audits)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'POST audit' do
|
44
|
+
it 'should post an audit' do
|
45
|
+
post 'create'
|
46
|
+
|
47
|
+
response.should be_success
|
48
|
+
AuditRails::Audit.no_audit_entry_for_today?("visit-site", 'Fake User').should be_false
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
Binary file
|
@@ -0,0 +1,136 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
+
[1m[35m (2.7ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
+
Connecting to database specified by database.yml
|
7
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
8
|
+
Migrating to CreateAuditRailsAudits (20121213191242)
|
9
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
10
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11
|
+
[1m[35m (0.5ms)[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)
|
12
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121213191242')[0m
|
13
|
+
[1m[35m (102.2ms)[0m commit transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
+
Connecting to database specified by database.yml
|
16
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
17
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
18
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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) [0m
|
19
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
20
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
21
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
22
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121213191242')[0m
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
[1m[36m (1.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
26
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
27
|
+
[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)
|
28
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
29
|
+
Connecting to database specified by database.yml
|
30
|
+
[1m[36m (1.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
31
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
32
|
+
[1m[36m (3.3ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
33
|
+
[1m[35m (1.1ms)[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)
|
34
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
35
|
+
Connecting to database specified by database.yml
|
36
|
+
[1m[36m (4.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
37
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
38
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
39
|
+
[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)
|
40
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
41
|
+
Connecting to database specified by database.yml
|
42
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
43
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
44
|
+
[1m[36m (3.1ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
45
|
+
[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)
|
46
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
47
|
+
Connecting to database specified by database.yml
|
48
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
49
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
50
|
+
[1m[36m (2.8ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
51
|
+
[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)
|
52
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
53
|
+
Connecting to database specified by database.yml
|
54
|
+
[1m[36m (1.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
55
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
56
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
57
|
+
[1m[35m (0.7ms)[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)
|
58
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
59
|
+
Connecting to database specified by database.yml
|
60
|
+
[1m[36m (1.7ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
61
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
62
|
+
[1m[36m (2.8ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
63
|
+
[1m[35m (1.1ms)[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)
|
64
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
65
|
+
Connecting to database specified by database.yml
|
66
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
67
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
68
|
+
[1m[36m (3.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
69
|
+
[1m[35m (0.7ms)[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)
|
70
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
71
|
+
Connecting to database specified by database.yml
|
72
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
73
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
74
|
+
[1m[36m (2.8ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
75
|
+
[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)
|
76
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
77
|
+
Connecting to database specified by database.yml
|
78
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
79
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
80
|
+
[1m[36m (2.8ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
81
|
+
[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)
|
82
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
83
|
+
Connecting to database specified by database.yml
|
84
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
85
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
86
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
87
|
+
[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)
|
88
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
89
|
+
Connecting to database specified by database.yml
|
90
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
91
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
92
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
93
|
+
[1m[35m (1.1ms)[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)
|
94
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
95
|
+
Connecting to database specified by database.yml
|
96
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
97
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
98
|
+
[1m[36m (3.2ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
99
|
+
[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)
|
100
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
101
|
+
Connecting to database specified by database.yml
|
102
|
+
[1m[36m (1.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
103
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
104
|
+
[1m[36m (2.5ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
105
|
+
[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)
|
106
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
107
|
+
Connecting to database specified by database.yml
|
108
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
109
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
110
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
111
|
+
[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)
|
112
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
113
|
+
Connecting to database specified by database.yml
|
114
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
115
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
116
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
117
|
+
[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)
|
118
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
119
|
+
Connecting to database specified by database.yml
|
120
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
121
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
122
|
+
[1m[36m (1.9ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
123
|
+
[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)
|
124
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
125
|
+
Connecting to database specified by database.yml
|
126
|
+
[1m[36m (1.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
127
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
128
|
+
[1m[36m (2.9ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
129
|
+
[1m[35m (1.2ms)[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)
|
130
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
131
|
+
Connecting to database specified by database.yml
|
132
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
133
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
134
|
+
[1m[36m (2.6ms)[0m [1mDROP TABLE "audit_rails_audits"[0m
|
135
|
+
[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)
|
136
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
@@ -0,0 +1,1074 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4
|
+
[1m[36mSQL (7.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-26 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
5
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7
|
+
[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, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-25 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
8
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10
|
+
[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, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-24 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
11
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12
|
+
Processing by AuditRails::AuditsController#index as XLS
|
13
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
14
|
+
Rendered text template (0.0ms)
|
15
|
+
Sent data audits.xls (12.9ms)
|
16
|
+
Completed 200 OK in 56ms (Views: 12.7ms | ActiveRecord: 0.1ms)
|
17
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
18
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20
|
+
[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, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-26 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
21
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-25 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
24
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
25
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26
|
+
[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, 27 Jun 2013 20:22:39 UTC +00:00], ["description", "User logged on at 2013-06-24 20:22:39 UTC"], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
27
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
28
|
+
Processing by AuditRails::AuditsController#index as HTML
|
29
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
30
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)
|
31
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
32
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
35
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
Processing by AuditRails::AuditsController#create as HTML
|
38
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39
|
+
[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", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "Fake User"]]
|
40
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.8ms)
|
42
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
43
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
44
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
46
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
47
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
48
|
+
[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, 27 Jun 2013 20:22:39 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:22:39 UTC +00:00], ["user_name", "John Smith"]]
|
49
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
51
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
52
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
54
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55
|
+
Connecting to database specified by database.yml
|
56
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
57
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35m (2.4ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
60
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
61
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
63
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "John Smith"]]
|
64
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
65
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
66
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71
|
+
[1m[35m (0.0ms)[0m begin transaction
|
72
|
+
Processing by AuditRails::AuditsController#create as HTML
|
73
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
74
|
+
[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", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
75
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76
|
+
Completed 200 OK in 15ms (Views: 11.8ms | ActiveRecord: 0.6ms)
|
77
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
78
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
81
|
+
[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, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-26 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
82
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
83
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
84
|
+
[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, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-25 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
85
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87
|
+
[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", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-24 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
88
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89
|
+
Processing by AuditRails::AuditsController#index as HTML
|
90
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
91
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
|
92
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
93
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
95
|
+
[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", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-26 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
96
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
97
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
98
|
+
[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, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-25 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
99
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
101
|
+
[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", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["description", "User logged on at 2013-06-24 20:24:07 UTC"], ["updated_at", Thu, 27 Jun 2013 20:24:07 UTC +00:00], ["user_name", "Fake User"]]
|
102
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
103
|
+
Processing by AuditRails::AuditsController#index as XLS
|
104
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
105
|
+
Sent data audits.xls (0.4ms)
|
106
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
107
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
108
|
+
Connecting to database specified by database.yml
|
109
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
110
|
+
Processing by AnonymousController#login as HTML
|
111
|
+
Parameters: {"id"=>"1"}
|
112
|
+
Completed 500 Internal Server Error in 2ms
|
113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
120
|
+
[1m[36mSQL (5.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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-26 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
123
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-25 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
124
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
126
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-24 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
127
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
128
|
+
Processing by AuditRails::AuditsController#index as XLS
|
129
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
130
|
+
Sent data audits.xls (9.9ms)
|
131
|
+
Completed 200 OK in 50ms (Views: 9.7ms | ActiveRecord: 0.1ms)
|
132
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
133
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
134
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
135
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-26 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-25 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
141
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", "User logged on at 2013-06-24 20:25:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
143
|
+
Processing by AuditRails::AuditsController#index as HTML
|
144
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
145
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
146
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
148
|
+
Processing by AuditRails::AuditsController#create as HTML
|
149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
150
|
+
[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", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "Fake User"]]
|
151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
152
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
153
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
154
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
157
|
+
[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, 27 Jun 2013 20:25:25 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:25:25 UTC +00:00], ["user_name", "John Smith"]]
|
158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
159
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
160
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
162
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
163
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
164
|
+
Connecting to database specified by database.yml
|
165
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
166
|
+
Processing by AnonymousController#login as HTML
|
167
|
+
Parameters: {"id"=>"1"}
|
168
|
+
Completed 500 Internal Server Error in 3ms
|
169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
176
|
+
[1m[36mSQL (5.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, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-26 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
179
|
+
[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, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-25 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
180
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
182
|
+
[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, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-24 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
184
|
+
Processing by AuditRails::AuditsController#index as HTML
|
185
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
186
|
+
Completed 200 OK in 43ms (Views: 41.7ms | ActiveRecord: 0.1ms)
|
187
|
+
[1m[35m (98.3ms)[0m rollback transaction
|
188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190
|
+
[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, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-26 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
191
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
193
|
+
[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", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-25 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
196
|
+
[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, 27 Jun 2013 20:26:18 UTC +00:00], ["description", "User logged on at 2013-06-24 20:26:18 UTC"], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
198
|
+
Processing by AuditRails::AuditsController#index as XLS
|
199
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
200
|
+
Sent data audits.xls (2.2ms)
|
201
|
+
Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 0.1ms)
|
202
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
204
|
+
Processing by AuditRails::AuditsController#create as HTML
|
205
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
206
|
+
[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", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "Fake User"]]
|
207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
208
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
209
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
210
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
214
|
+
[1m[35m (0.1ms)[0m begin transaction
|
215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
216
|
+
[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", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:26:18 UTC +00:00], ["user_name", "John Smith"]]
|
217
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
218
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
219
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
220
|
+
Connecting to database specified by database.yml
|
221
|
+
Connecting to database specified by database.yml
|
222
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
223
|
+
Processing by AnonymousController#login as HTML
|
224
|
+
Parameters: {"id"=>"1"}
|
225
|
+
Completed 500 Internal Server Error in 4ms
|
226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
231
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
232
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
233
|
+
[1m[36mSQL (5.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, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-26 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
234
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
236
|
+
[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, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-25 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
239
|
+
[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, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-24 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
241
|
+
Processing by AuditRails::AuditsController#index as HTML
|
242
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
243
|
+
Completed 200 OK in 42ms (Views: 39.9ms | ActiveRecord: 0.1ms)
|
244
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
247
|
+
[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, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-26 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
249
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
250
|
+
[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", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-25 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
252
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
253
|
+
[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, 27 Jun 2013 20:27:23 UTC +00:00], ["description", "User logged on at 2013-06-24 20:27:23 UTC"], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
254
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
255
|
+
Processing by AuditRails::AuditsController#index as XLS
|
256
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
257
|
+
Sent data audits.xls (2.2ms)
|
258
|
+
Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
259
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
261
|
+
Processing by AuditRails::AuditsController#create as HTML
|
262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
263
|
+
[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", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "Fake User"]]
|
264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
265
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
266
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
267
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
269
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
270
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
271
|
+
[1m[35m (0.1ms)[0m begin transaction
|
272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
273
|
+
[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", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:27:23 UTC +00:00], ["user_name", "John Smith"]]
|
274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
275
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
276
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
277
|
+
Connecting to database specified by database.yml
|
278
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
280
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
281
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
283
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
286
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
288
|
+
Processing by AuditRails::AuditsController#index as XLS
|
289
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
290
|
+
Rendered text template (0.0ms)
|
291
|
+
Sent data audits.xls (11.9ms)
|
292
|
+
Completed 200 OK in 50ms (Views: 11.7ms | ActiveRecord: 0.1ms)
|
293
|
+
[1m[35m (2.3ms)[0m rollback transaction
|
294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
299
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
302
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:00 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
303
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
304
|
+
Processing by AuditRails::AuditsController#index as HTML
|
305
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
306
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)
|
307
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
309
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
313
|
+
Processing by AuditRails::AuditsController#create as HTML
|
314
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
315
|
+
[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", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "Fake User"]]
|
316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
317
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
318
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
319
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
321
|
+
Processing by AnonymousController#login as HTML
|
322
|
+
Parameters: {"id"=>"1"}
|
323
|
+
Completed 500 Internal Server Error in 1ms
|
324
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
326
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
327
|
+
[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, 27 Jun 2013 20:28:00 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:00 UTC +00:00], ["user_name", "John Smith"]]
|
328
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
329
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
330
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
333
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
334
|
+
Connecting to database specified by database.yml
|
335
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
336
|
+
Processing by AnonymousController#login as HTML
|
337
|
+
Parameters: {"id"=>"1"}
|
338
|
+
Completed 500 Internal Server Error in 2ms
|
339
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
340
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
342
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
343
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
346
|
+
[1m[36mSQL (5.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, 27 Jun 2013 20:28:37 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:37 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:37 UTC +00:00], ["user_name", "Fake User"]]
|
347
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
349
|
+
[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, 27 Jun 2013 20:28:37 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:37 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:37 UTC +00:00], ["user_name", "Fake User"]]
|
350
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
352
|
+
[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, 27 Jun 2013 20:28:37 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:37 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:37 UTC +00:00], ["user_name", "Fake User"]]
|
353
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
354
|
+
Processing by AuditRails::AuditsController#index as HTML
|
355
|
+
[1m[36mAuditRails::Audit Load (0.2ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
356
|
+
Completed 200 OK in 44ms (Views: 42.1ms | ActiveRecord: 0.2ms)
|
357
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
360
|
+
[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, 27 Jun 2013 20:28:38 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:38 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["user_name", "Fake User"]]
|
361
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
362
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
363
|
+
[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", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:38 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["user_name", "Fake User"]]
|
364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
366
|
+
[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, 27 Jun 2013 20:28:38 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:38 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["user_name", "Fake User"]]
|
367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
368
|
+
Processing by AuditRails::AuditsController#index as XLS
|
369
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
370
|
+
Sent data audits.xls (2.2ms)
|
371
|
+
Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
372
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
374
|
+
Processing by AuditRails::AuditsController#create as HTML
|
375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
376
|
+
[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", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["user_name", "Fake User"]]
|
377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
378
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
379
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
380
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
382
|
+
[1m[35m (0.3ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
383
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
384
|
+
[1m[35m (0.1ms)[0m begin transaction
|
385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
386
|
+
[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", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:38 UTC +00:00], ["user_name", "John Smith"]]
|
387
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
388
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
389
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
390
|
+
Connecting to database specified by database.yml
|
391
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
392
|
+
Processing by AnonymousController#login as HTML
|
393
|
+
Parameters: {"id"=>"1"}
|
394
|
+
Completed 500 Internal Server Error in 0ms
|
395
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
399
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
401
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
402
|
+
[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", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
403
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
405
|
+
[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, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
408
|
+
[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, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
410
|
+
Processing by AuditRails::AuditsController#index as HTML
|
411
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
412
|
+
Completed 200 OK in 42ms (Views: 40.8ms | ActiveRecord: 0.1ms)
|
413
|
+
[1m[35m (98.3ms)[0m rollback transaction
|
414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
415
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
416
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-26 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
419
|
+
[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", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-25 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
422
|
+
[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, 27 Jun 2013 20:28:58 UTC +00:00], ["description", "User logged on at 2013-06-24 20:28:58 UTC"], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
424
|
+
Processing by AuditRails::AuditsController#index as XLS
|
425
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
426
|
+
Sent data audits.xls (2.3ms)
|
427
|
+
Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
428
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
430
|
+
Processing by AuditRails::AuditsController#create as HTML
|
431
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
432
|
+
[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", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "Fake User"]]
|
433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
434
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
435
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
436
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
438
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
439
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
441
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
442
|
+
[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", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:28:58 UTC +00:00], ["user_name", "John Smith"]]
|
443
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
444
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
445
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
446
|
+
Connecting to database specified by database.yml
|
447
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
448
|
+
[1m[35m (1.6ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
449
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
451
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
452
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "John Smith"]]
|
453
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
454
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
455
|
+
[1m[36m (102.3ms)[0m [1mrollback transaction[0m
|
456
|
+
[1m[35m (0.1ms)[0m begin transaction
|
457
|
+
Processing by AuditRails::AuditsController#create as HTML
|
458
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
459
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
460
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
461
|
+
Rendered text template (0.0ms)
|
462
|
+
Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.5ms)
|
463
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
464
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
467
|
+
[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, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-26 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
468
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
469
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
470
|
+
[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", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-25 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
471
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
473
|
+
[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", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-24 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
475
|
+
Processing by AuditRails::AuditsController#index as HTML
|
476
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
477
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
478
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
481
|
+
[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, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-26 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
482
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
484
|
+
[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", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-25 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
487
|
+
[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", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["description", "User logged on at 2013-06-24 20:29:15 UTC"], ["updated_at", Thu, 27 Jun 2013 20:29:15 UTC +00:00], ["user_name", "Fake User"]]
|
488
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
489
|
+
Processing by AuditRails::AuditsController#index as XLS
|
490
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
491
|
+
Sent data audits.xls (0.4ms)
|
492
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
493
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
499
|
+
Processing by AnonymousController#login as HTML
|
500
|
+
Parameters: {"id"=>"1"}
|
501
|
+
Completed 500 Internal Server Error in 0ms
|
502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
503
|
+
Connecting to database specified by database.yml
|
504
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
505
|
+
Processing by AnonymousController#login as HTML
|
506
|
+
Parameters: {"id"=>"1"}
|
507
|
+
Completed 500 Internal Server Error in 2ms
|
508
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
509
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
510
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
512
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
515
|
+
[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", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-26 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
517
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
518
|
+
[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, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-25 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
519
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
520
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
521
|
+
[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, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-24 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
523
|
+
Processing by AuditRails::AuditsController#index as XLS
|
524
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
525
|
+
Sent data audits.xls (10.6ms)
|
526
|
+
Completed 200 OK in 59ms (Views: 10.3ms | ActiveRecord: 0.1ms)
|
527
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
530
|
+
[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, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-26 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
531
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
532
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
533
|
+
[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", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-25 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
535
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
536
|
+
[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, 27 Jun 2013 20:31:12 UTC +00:00], ["description", "User logged on at 2013-06-24 20:31:12 UTC"], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
537
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
538
|
+
Processing by AuditRails::AuditsController#index as HTML
|
539
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
540
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
541
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
543
|
+
Processing by AuditRails::AuditsController#create as HTML
|
544
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
545
|
+
[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", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "Fake User"]]
|
546
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
547
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
548
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
549
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
551
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
552
|
+
[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, 27 Jun 2013 20:31:12 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:31:12 UTC +00:00], ["user_name", "John Smith"]]
|
553
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
554
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
555
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
556
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
557
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
558
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
559
|
+
Connecting to database specified by database.yml
|
560
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
561
|
+
Processing by AnonymousController#login as HTML
|
562
|
+
Parameters: {"id"=>"1"}
|
563
|
+
Completed 500 Internal Server Error in 2ms
|
564
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
566
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
568
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
571
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
572
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
573
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
574
|
+
[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", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
575
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
577
|
+
[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, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
579
|
+
Processing by AuditRails::AuditsController#index as XLS
|
580
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
581
|
+
Sent data audits.xls (10.1ms)
|
582
|
+
Completed 200 OK in 50ms (Views: 9.9ms | ActiveRecord: 0.1ms)
|
583
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
586
|
+
[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, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
589
|
+
[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", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
592
|
+
[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, 27 Jun 2013 20:32:08 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:08 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
594
|
+
Processing by AuditRails::AuditsController#index as HTML
|
595
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
596
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
597
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
599
|
+
Processing by AuditRails::AuditsController#create as HTML
|
600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
601
|
+
[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", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "Fake User"]]
|
602
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
603
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
604
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
605
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
608
|
+
[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, 27 Jun 2013 20:32:08 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:08 UTC +00:00], ["user_name", "John Smith"]]
|
609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
610
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
611
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
613
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'login' AND "audit_rails_audits"."user_name" = 'John' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
614
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
615
|
+
Connecting to database specified by database.yml
|
616
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
617
|
+
[1m[35m (1.4ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
618
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
621
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "John Smith"]]
|
622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
623
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
624
|
+
[1m[36m (99.1ms)[0m [1mrollback transaction[0m
|
625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
626
|
+
Processing by AuditRails::AuditsController#create as HTML
|
627
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
628
|
+
[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", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
629
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
630
|
+
Rendered text template (0.0ms)
|
631
|
+
Completed 200 OK in 14ms (Views: 10.6ms | ActiveRecord: 0.6ms)
|
632
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
633
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
635
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
636
|
+
[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, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
637
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
638
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
639
|
+
[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, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
642
|
+
[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", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
644
|
+
Processing by AuditRails::AuditsController#index as HTML
|
645
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
646
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
|
647
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
+
[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, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
651
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
653
|
+
[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", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
656
|
+
[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", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:24 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:24 UTC +00:00], ["user_name", "Fake User"]]
|
657
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
658
|
+
Processing by AuditRails::AuditsController#index as XLS
|
659
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
660
|
+
Sent data audits.xls (0.4ms)
|
661
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
662
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
663
|
+
[1m[35m (0.1ms)[0m begin transaction
|
664
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
665
|
+
[1m[35m (0.0ms)[0m begin transaction
|
666
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
668
|
+
Processing by AnonymousController#login as HTML
|
669
|
+
Parameters: {"id"=>"1"}
|
670
|
+
Completed 500 Internal Server Error in 2ms
|
671
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
672
|
+
Connecting to database specified by database.yml
|
673
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
674
|
+
Processing by AnonymousController#login as HTML
|
675
|
+
Parameters: {"id"=>"1"}
|
676
|
+
Completed 500 Internal Server Error in 2ms
|
677
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
678
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
679
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680
|
+
[1m[36mSQL (6.1ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "John Smith"]]
|
681
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
682
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
683
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
684
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
685
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
686
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
690
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
692
|
+
Processing by AuditRails::AuditsController#create as HTML
|
693
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
694
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
695
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
696
|
+
Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.5ms)
|
697
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
698
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
701
|
+
[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, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
702
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
704
|
+
[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, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
+
[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", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
708
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
709
|
+
Processing by AuditRails::AuditsController#index as XLS
|
710
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
711
|
+
Sent data audits.xls (0.5ms)
|
712
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
713
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
714
|
+
[1m[35m (0.1ms)[0m begin transaction
|
715
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
716
|
+
[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, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
719
|
+
[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", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
722
|
+
[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", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:36 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:36 UTC +00:00], ["user_name", "Fake User"]]
|
723
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
724
|
+
Processing by AuditRails::AuditsController#index as HTML
|
725
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
726
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
727
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
728
|
+
Connecting to database specified by database.yml
|
729
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
730
|
+
Processing by AnonymousController#login as HTML
|
731
|
+
Parameters: {"id"=>"1"}
|
732
|
+
Completed 500 Internal Server Error in 4ms
|
733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
735
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
740
|
+
[1m[36mSQL (5.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
743
|
+
[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", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
745
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
746
|
+
[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, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
748
|
+
Processing by AuditRails::AuditsController#index as HTML
|
749
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
750
|
+
Completed 200 OK in 44ms (Views: 42.4ms | ActiveRecord: 0.1ms)
|
751
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
754
|
+
[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, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-26 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
756
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
757
|
+
[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", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-25 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
760
|
+
[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, 27 Jun 2013 20:32:55 UTC +00:00], ["description", "User logged on at 2013-06-24 20:32:55 UTC"], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
762
|
+
Processing by AuditRails::AuditsController#index as XLS
|
763
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
764
|
+
Sent data audits.xls (2.4ms)
|
765
|
+
Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
766
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
767
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
768
|
+
Processing by AuditRails::AuditsController#create as HTML
|
769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
770
|
+
[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", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "Fake User"]]
|
771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
772
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
773
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
774
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
776
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
777
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
779
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
780
|
+
[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", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:32:55 UTC +00:00], ["user_name", "John Smith"]]
|
781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
782
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
783
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
784
|
+
Connecting to database specified by database.yml
|
785
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
787
|
+
[1m[36mSQL (6.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, 27 Jun 2013 20:33:43 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "John Smith"]]
|
788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
789
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
790
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
792
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
793
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
794
|
+
[1m[35m (0.1ms)[0m begin transaction
|
795
|
+
Processing by AuditRails::AuditsController#create as HTML
|
796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
799
|
+
Rendered text template (0.0ms)
|
800
|
+
Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.6ms)
|
801
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
802
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
803
|
+
[1m[35m (0.1ms)[0m begin transaction
|
804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
805
|
+
[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, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-26 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
808
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-25 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
811
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-24 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
813
|
+
Processing by AuditRails::AuditsController#index as XLS
|
814
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
815
|
+
Sent data audits.xls (0.5ms)
|
816
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
817
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
819
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
820
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-26 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
821
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
822
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
823
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-25 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
824
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
825
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
826
|
+
[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", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["description", "User logged on at 2013-06-24 20:33:43 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:43 UTC +00:00], ["user_name", "Fake User"]]
|
827
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
828
|
+
Processing by AuditRails::AuditsController#index as HTML
|
829
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
830
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
831
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
833
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
836
|
+
[1m[35m (0.1ms)[0m begin transaction
|
837
|
+
Processing by AnonymousController#login as HTML
|
838
|
+
Parameters: {"id"=>"1"}
|
839
|
+
Completed 500 Internal Server Error in 2ms
|
840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
841
|
+
Connecting to database specified by database.yml
|
842
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
843
|
+
[1m[35m (1.6ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
844
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
845
|
+
[1m[35m (0.1ms)[0m begin transaction
|
846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
847
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "John Smith"]]
|
848
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
849
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
850
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
851
|
+
[1m[35m (0.1ms)[0m begin transaction
|
852
|
+
Processing by AuditRails::AuditsController#create as HTML
|
853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
854
|
+
[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", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
855
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
856
|
+
Rendered text template (0.0ms)
|
857
|
+
Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.6ms)
|
858
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "audit_rails_audits" WHERE "audit_rails_audits"."action" = 'visit-site' AND "audit_rails_audits"."user_name" = 'Fake User' AND ("audit_rails_audits"."created_at" BETWEEN '2013-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
859
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
862
|
+
[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, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-26 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
865
|
+
[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", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-25 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
868
|
+
[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", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-24 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
870
|
+
Processing by AuditRails::AuditsController#index as HTML
|
871
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
872
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
873
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
874
|
+
[1m[35m (0.1ms)[0m begin transaction
|
875
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
876
|
+
[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, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-26 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
879
|
+
[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, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-25 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
882
|
+
[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", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["description", "User logged on at 2013-06-24 20:33:59 UTC"], ["updated_at", Thu, 27 Jun 2013 20:33:59 UTC +00:00], ["user_name", "Fake User"]]
|
883
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
884
|
+
Processing by AuditRails::AuditsController#index as XLS
|
885
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
886
|
+
Sent data audits.xls (0.5ms)
|
887
|
+
Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
888
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
890
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
892
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
894
|
+
Processing by AnonymousController#login as HTML
|
895
|
+
Parameters: {"id"=>"1"}
|
896
|
+
Completed 500 Internal Server Error in 2ms
|
897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
898
|
+
Connecting to database specified by database.yml
|
899
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
900
|
+
Processing by AnonymousController#login as HTML
|
901
|
+
Parameters: {"id"=>"1"}
|
902
|
+
Rendered text template (0.0ms)
|
903
|
+
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
904
|
+
[1m[35m (1.5ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
905
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
906
|
+
[1m[35m (0.0ms)[0m begin transaction
|
907
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
911
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
912
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-26 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
913
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
914
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
915
|
+
[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, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-25 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
916
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
917
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
918
|
+
[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", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-24 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
920
|
+
Processing by AuditRails::AuditsController#index as HTML
|
921
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
922
|
+
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.1ms)
|
923
|
+
[1m[36m (2.3ms)[0m [1mrollback transaction[0m
|
924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
925
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
926
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-26 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
927
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
928
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
929
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-25 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
931
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
932
|
+
[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, 27 Jun 2013 20:34:27 UTC +00:00], ["description", "User logged on at 2013-06-24 20:34:27 UTC"], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
933
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
934
|
+
Processing by AuditRails::AuditsController#index as XLS
|
935
|
+
[1m[35mAuditRails::Audit Load (0.2ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
936
|
+
Sent data audits.xls (0.6ms)
|
937
|
+
Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
938
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
940
|
+
Processing by AuditRails::AuditsController#create as HTML
|
941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
942
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "visit-site"], ["controller", "xyz"], ["created_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "Fake User"]]
|
943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
944
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
945
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
946
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
948
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
952
|
+
[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, 27 Jun 2013 20:34:27 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:34:27 UTC +00:00], ["user_name", "John Smith"]]
|
953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
954
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
955
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
956
|
+
Connecting to database specified by database.yml
|
957
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
958
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
959
|
+
[1m[36mSQL (8.9ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "login"], ["controller", "sessions"], ["created_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-26 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
960
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
961
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
962
|
+
[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", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-25 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
963
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
964
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
965
|
+
[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, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-24 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
966
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
967
|
+
Processing by AuditRails::AuditsController#index as HTML
|
968
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
969
|
+
Rendered /Users/gouravtiwari/audit_rails/app/views/audit_rails/audits/index.html.erb within layouts/audit_rails/application (2.4ms)
|
970
|
+
Completed 200 OK in 41ms (Views: 39.3ms | ActiveRecord: 0.1ms)
|
971
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
974
|
+
[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, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-26 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
977
|
+
[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", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-25 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
980
|
+
[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, 27 Jun 2013 20:38:29 UTC +00:00], ["description", "User logged on at 2013-06-24 20:38:29 UTC"], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
982
|
+
Processing by AuditRails::AuditsController#index as XLS
|
983
|
+
[1m[36mAuditRails::Audit Load (0.1ms)[0m [1mSELECT "audit_rails_audits".* FROM "audit_rails_audits" [0m
|
984
|
+
Sent data audits.xls (2.2ms)
|
985
|
+
Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
986
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
992
|
+
Processing by AuditRails::AuditsController#create as HTML
|
993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
994
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "visit-site"], ["controller", "xyz"], ["created_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "Fake User"]]
|
995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
996
|
+
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
997
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
998
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1000
|
+
Processing by AnonymousController#login as HTML
|
1001
|
+
Parameters: {"id"=>"1"}
|
1002
|
+
Completed 500 Internal Server Error in 2ms
|
1003
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1005
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1006
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[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", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:38:29 UTC +00:00], ["user_name", "John Smith"]]
|
1010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1012
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1013
|
+
Connecting to database specified by database.yml
|
1014
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1015
|
+
[1m[35m (1.5ms)[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1019
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "audit_rails_audits" ("action", "controller", "created_at", "description", "updated_at", "user_name") VALUES (?, ?, ?, ?, ?, ?) [["action", "login"], ["controller", nil], ["created_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "John Smith"]]
|
1020
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1021
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1022
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
1023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1024
|
+
Processing by AuditRails::AuditsController#create as HTML
|
1025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1026
|
+
[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", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["description", nil], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1027
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1028
|
+
Rendered text template (0.0ms)
|
1029
|
+
Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.6ms)
|
1030
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')
|
1031
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1034
|
+
[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, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-26 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1035
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1037
|
+
[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, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-25 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1040
|
+
[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", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-24 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1042
|
+
Processing by AuditRails::AuditsController#index as HTML
|
1043
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1044
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
1045
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1048
|
+
[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, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-26 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1050
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1051
|
+
[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, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-25 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1052
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1054
|
+
[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", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged on at 2013-06-24 20:40:25 UTC"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1055
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1056
|
+
Processing by AuditRails::AuditsController#index as XLS
|
1057
|
+
[1m[35mAuditRails::Audit Load (0.1ms)[0m SELECT "audit_rails_audits".* FROM "audit_rails_audits"
|
1058
|
+
Sent data audits.xls (0.5ms)
|
1059
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1060
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1061
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1063
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1064
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1066
|
+
Processing by AnonymousController#login as HTML
|
1067
|
+
Parameters: {"id"=>"1"}
|
1068
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1070
|
+
[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", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["description", "User logged in"], ["updated_at", Thu, 27 Jun 2013 20:40:25 UTC +00:00], ["user_name", "Fake User"]]
|
1071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1072
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1073
|
+
[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-06-27 00:00:00.000000' AND '2013-06-27 23:59:59.999999')[0m
|
1074
|
+
[1m[35m (0.4ms)[0m rollback transaction
|