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
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
describe AuditRails::Audit do
|
|
3
|
+
describe ".no_audit_entry_for_today?" do
|
|
4
|
+
it "returns true when there is no audit entry for a user for an action " do
|
|
5
|
+
AuditRails::Audit.no_audit_entry_for_today?('login', 'John').should be_true
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
it "returns false when there is an audit entry for a user for an action to avoid duplicate entries (e.g. for login)" do
|
|
9
|
+
audit = AuditRails::Audit.create!(:action => action = "login", :user_name => user = "John Smith")
|
|
10
|
+
|
|
11
|
+
AuditRails::Audit.no_audit_entry_for_today?(action, user).should be_false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
2
|
+
require 'simplecov'
|
|
3
|
+
require 'coveralls'
|
|
4
|
+
|
|
5
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
|
6
|
+
SimpleCov::Formatter::HTMLFormatter,
|
|
7
|
+
Coveralls::SimpleCov::Formatter
|
|
8
|
+
]
|
|
9
|
+
SimpleCov.start do
|
|
10
|
+
add_filter 'spec'
|
|
11
|
+
add_filter 'lib'
|
|
12
|
+
add_filter 'config'
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
16
|
+
|
|
17
|
+
require File.expand_path("../../spec/dummy/config/environment", __FILE__)
|
|
18
|
+
require 'rspec/rails'
|
|
19
|
+
require 'rspec/autorun'
|
|
20
|
+
|
|
21
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
22
|
+
# in spec/support/ and its subdirectories.
|
|
23
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
|
24
|
+
|
|
25
|
+
RSpec.configure do |config|
|
|
26
|
+
# ## Mock Framework
|
|
27
|
+
#
|
|
28
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
|
29
|
+
#
|
|
30
|
+
# config.mock_with :mocha
|
|
31
|
+
# config.mock_with :flexmock
|
|
32
|
+
# config.mock_with :rr
|
|
33
|
+
|
|
34
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
|
35
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
|
36
|
+
|
|
37
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
|
38
|
+
# examples within a transaction, remove the following line or assign false
|
|
39
|
+
# instead of true.
|
|
40
|
+
config.use_transactional_fixtures = true
|
|
41
|
+
|
|
42
|
+
# If true, the base class of anonymous controllers will be inferred
|
|
43
|
+
# automatically. This will be the default behavior in future versions of
|
|
44
|
+
# rspec-rails.
|
|
45
|
+
config.infer_base_class_for_anonymous_controllers = false
|
|
46
|
+
|
|
47
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
48
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
49
|
+
# the seed, which is printed after each run.
|
|
50
|
+
# --seed 1234
|
|
51
|
+
config.order = "random"
|
|
52
|
+
config.before(:each) { @routes = AuditRails::Engine.routes }
|
|
53
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: audit_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -76,7 +76,7 @@ dependencies:
|
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: 2.12.0
|
|
78
78
|
description: An action based auditor, which has internal as well as outgoing link
|
|
79
|
-
tracking.
|
|
79
|
+
tracking. This has now good amount of test coverage
|
|
80
80
|
email:
|
|
81
81
|
- gouravtiwari21@gmail.com
|
|
82
82
|
executables: []
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- app/models/audit_rails/audit.rb
|
|
94
94
|
- app/views/audit_rails/audits/index.html.erb
|
|
95
95
|
- app/views/layouts/audit_rails/application.html.erb
|
|
96
|
+
- config/initializers/mime_types.rb
|
|
96
97
|
- config/routes.rb
|
|
97
98
|
- db/migrate/20121213191242_create_audit_rails_audits.rb
|
|
98
99
|
- lib/audit_rails/engine.rb
|
|
@@ -103,42 +104,43 @@ files:
|
|
|
103
104
|
- MIT-LICENSE
|
|
104
105
|
- Rakefile
|
|
105
106
|
- README.rdoc
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
107
|
+
- spec/controllers/audit_rails/application_controller_spec.rb
|
|
108
|
+
- spec/controllers/audit_rails/audits_controller_spec.rb
|
|
109
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
110
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
111
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
112
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
113
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
114
|
+
- spec/dummy/config/application.rb
|
|
115
|
+
- spec/dummy/config/boot.rb
|
|
116
|
+
- spec/dummy/config/database.yml
|
|
117
|
+
- spec/dummy/config/environment.rb
|
|
118
|
+
- spec/dummy/config/environments/development.rb
|
|
119
|
+
- spec/dummy/config/environments/production.rb
|
|
120
|
+
- spec/dummy/config/environments/test.rb
|
|
121
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
122
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
123
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
124
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
125
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
126
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
127
|
+
- spec/dummy/config/locales/en.yml
|
|
128
|
+
- spec/dummy/config/routes.rb
|
|
129
|
+
- spec/dummy/config.ru
|
|
130
|
+
- spec/dummy/db/development.sqlite3
|
|
131
|
+
- spec/dummy/db/schema.rb
|
|
132
|
+
- spec/dummy/db/test.sqlite3
|
|
133
|
+
- spec/dummy/log/development.log
|
|
134
|
+
- spec/dummy/log/test.log
|
|
135
|
+
- spec/dummy/public/404.html
|
|
136
|
+
- spec/dummy/public/422.html
|
|
137
|
+
- spec/dummy/public/500.html
|
|
138
|
+
- spec/dummy/public/favicon.ico
|
|
139
|
+
- spec/dummy/Rakefile
|
|
140
|
+
- spec/dummy/README.rdoc
|
|
141
|
+
- spec/dummy/script/rails
|
|
142
|
+
- spec/models/audit_rails/audit_spec.rb
|
|
143
|
+
- spec/spec_helper.rb
|
|
142
144
|
homepage: https://github.com/gouravtiwari/audit_rails
|
|
143
145
|
licenses: []
|
|
144
146
|
post_install_message:
|
|
@@ -164,40 +166,41 @@ signing_key:
|
|
|
164
166
|
specification_version: 3
|
|
165
167
|
summary: An action based auditor, which has internal as well as outgoing link tracking.
|
|
166
168
|
test_files:
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
169
|
+
- spec/controllers/audit_rails/application_controller_spec.rb
|
|
170
|
+
- spec/controllers/audit_rails/audits_controller_spec.rb
|
|
171
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
172
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
173
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
174
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
175
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
176
|
+
- spec/dummy/config/application.rb
|
|
177
|
+
- spec/dummy/config/boot.rb
|
|
178
|
+
- spec/dummy/config/database.yml
|
|
179
|
+
- spec/dummy/config/environment.rb
|
|
180
|
+
- spec/dummy/config/environments/development.rb
|
|
181
|
+
- spec/dummy/config/environments/production.rb
|
|
182
|
+
- spec/dummy/config/environments/test.rb
|
|
183
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
184
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
185
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
186
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
187
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
188
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
189
|
+
- spec/dummy/config/locales/en.yml
|
|
190
|
+
- spec/dummy/config/routes.rb
|
|
191
|
+
- spec/dummy/config.ru
|
|
192
|
+
- spec/dummy/db/development.sqlite3
|
|
193
|
+
- spec/dummy/db/schema.rb
|
|
194
|
+
- spec/dummy/db/test.sqlite3
|
|
195
|
+
- spec/dummy/log/development.log
|
|
196
|
+
- spec/dummy/log/test.log
|
|
197
|
+
- spec/dummy/public/404.html
|
|
198
|
+
- spec/dummy/public/422.html
|
|
199
|
+
- spec/dummy/public/500.html
|
|
200
|
+
- spec/dummy/public/favicon.ico
|
|
201
|
+
- spec/dummy/Rakefile
|
|
202
|
+
- spec/dummy/README.rdoc
|
|
203
|
+
- spec/dummy/script/rails
|
|
204
|
+
- spec/models/audit_rails/audit_spec.rb
|
|
205
|
+
- spec/spec_helper.rb
|
|
203
206
|
has_rdoc:
|
data/test/audit_rails_test.rb
DELETED
|
@@ -1,492 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Started GET "/our-work" for 127.0.0.1 at 2012-12-13 16:12:50 -0500
|
|
4
|
-
Connecting to database specified by database.yml
|
|
5
|
-
|
|
6
|
-
ActionController::RoutingError (No route matches [GET] "/our-work"):
|
|
7
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
8
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
9
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
10
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
11
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
12
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
13
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
14
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
15
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
16
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
17
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
18
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
19
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
20
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
21
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
22
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
23
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
24
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
25
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
26
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.8ms)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Started GET "/" for 127.0.0.1 at 2012-12-13 16:14:20 -0500
|
|
33
|
-
|
|
34
|
-
ActionController::RoutingError (No route matches [GET] "/"):
|
|
35
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
36
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
37
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
38
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
39
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
40
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
41
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
42
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
43
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
44
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
45
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
46
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
47
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
48
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
49
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
50
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
51
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
52
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
53
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
54
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Started GET "/audit-rails" for 127.0.0.1 at 2012-12-13 16:14:29 -0500
|
|
61
|
-
|
|
62
|
-
ActionController::RoutingError (No route matches [GET] "/audit-rails"):
|
|
63
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
64
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
65
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
66
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
67
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
68
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
69
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
70
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
71
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
72
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
73
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
74
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
75
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
76
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
77
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
78
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
79
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
80
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
81
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
82
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Started GET "/audit-rails/audits" for 127.0.0.1 at 2012-12-13 16:15:42 -0500
|
|
89
|
-
Connecting to database specified by database.yml
|
|
90
|
-
|
|
91
|
-
ActionController::RoutingError (No route matches [GET] "/audit-rails/audits"):
|
|
92
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
93
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
94
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
95
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
96
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
97
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
98
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
99
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
100
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
101
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
102
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
103
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
104
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
105
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
106
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
107
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
108
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
109
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
110
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
111
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
Started GET "/audits" for 127.0.0.1 at 2012-12-13 16:15:57 -0500
|
|
118
|
-
|
|
119
|
-
ActionController::RoutingError (No route matches [GET] "/audits"):
|
|
120
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
121
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
122
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
123
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
124
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
125
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
126
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
127
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
128
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
129
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
130
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
131
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
132
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
133
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
134
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
135
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
136
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
137
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
138
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
139
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
Started GET "/audit_rails/audits" for 127.0.0.1 at 2012-12-13 16:16:26 -0500
|
|
146
|
-
Processing by AuditRails::AuditsController#index as HTML
|
|
147
|
-
Completed 500 Internal Server Error in 34ms
|
|
148
|
-
|
|
149
|
-
ActiveRecord::StatementInvalid (Could not find table 'audit_rails_audits'):
|
|
150
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:472:in `table_structure'
|
|
151
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
|
|
152
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
|
|
153
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `yield'
|
|
154
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `default'
|
|
155
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `columns'
|
|
156
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:237:in `columns_hash'
|
|
157
|
-
activerecord (3.2.9) lib/active_record/locking/optimistic.rb:129:in `locking_enabled?'
|
|
158
|
-
activerecord (3.2.9) lib/active_record/relation.rb:170:in `exec_queries'
|
|
159
|
-
activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a'
|
|
160
|
-
activerecord (3.2.9) lib/active_record/explain.rb:33:in `logging_query_plan'
|
|
161
|
-
activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a'
|
|
162
|
-
activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:159:in `all'
|
|
163
|
-
activerecord (3.2.9) lib/active_record/querying.rb:5:in `all'
|
|
164
|
-
/Users/gouravtiwari/audit_rails/app/controllers/audit_rails/audits_controller.rb:8:in `index'
|
|
165
|
-
actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
|
166
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
|
|
167
|
-
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
168
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
|
169
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:403:in `_run__790901631425235955__process_action__3200907695428865316__callbacks'
|
|
170
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
171
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
|
172
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
173
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
|
174
|
-
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
175
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
|
176
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
|
|
177
|
-
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
178
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
|
|
179
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
|
180
|
-
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
|
181
|
-
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
182
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
|
|
183
|
-
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
|
|
184
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
|
|
185
|
-
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
|
186
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
|
|
187
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
|
188
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
|
189
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
|
190
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
191
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
192
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
193
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
194
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
195
|
-
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
|
196
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
197
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
198
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
199
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
200
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
|
201
|
-
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
|
202
|
-
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
|
203
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
|
204
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
|
205
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
|
206
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
|
207
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
|
208
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
|
209
|
-
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
|
|
210
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
|
211
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
|
212
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__3028318975771496415__call__2648196857953530865__callbacks'
|
|
213
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
214
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
|
215
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
216
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
217
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
|
218
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
|
219
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
|
220
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
221
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
222
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
223
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
224
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
225
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
226
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
227
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
228
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
229
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
230
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
231
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
232
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
233
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
234
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
235
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
236
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
237
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
238
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
|
242
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
|
243
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327@audit-rails/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)
|
|
244
|
-
Connecting to database specified by database.yml
|
|
245
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
246
|
-
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
247
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
248
|
-
[1m[35m (1.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
249
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
250
|
-
[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)
|
|
251
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
252
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
253
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
254
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121213191242')
|
|
255
|
-
Connecting to database specified by database.yml
|
|
256
|
-
Connecting to database specified by database.yml
|
|
257
|
-
Connecting to database specified by database.yml
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
Started GET "/" for 127.0.0.1 at 2013-01-04 17:07:37 -0500
|
|
261
|
-
Connecting to database specified by database.yml
|
|
262
|
-
|
|
263
|
-
ActionController::RoutingError (No route matches [GET] "/"):
|
|
264
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
265
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
266
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
267
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
268
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
269
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
270
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
271
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
272
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
273
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
274
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
275
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
276
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
277
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
278
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
279
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
280
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
281
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
282
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
283
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.6ms)
|
|
287
|
-
Connecting to database specified by database.yml
|
|
288
|
-
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
|
289
|
-
[1m[35m (1.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
Started GET "/audit_rails/audits" for 127.0.0.1 at 2013-01-04 17:08:37 -0500
|
|
293
|
-
Connecting to database specified by database.yml
|
|
294
|
-
Processing by AuditRails::AuditsController#index as HTML
|
|
295
|
-
Completed 500 Internal Server Error in 21ms
|
|
296
|
-
|
|
297
|
-
ActiveRecord::StatementInvalid (Could not find table 'audit_rails_audits'):
|
|
298
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:472:in `table_structure'
|
|
299
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
|
|
300
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
|
|
301
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `yield'
|
|
302
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `default'
|
|
303
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `columns'
|
|
304
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:237:in `columns_hash'
|
|
305
|
-
activerecord (3.2.9) lib/active_record/locking/optimistic.rb:129:in `locking_enabled?'
|
|
306
|
-
activerecord (3.2.9) lib/active_record/relation.rb:170:in `exec_queries'
|
|
307
|
-
activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a'
|
|
308
|
-
activerecord (3.2.9) lib/active_record/explain.rb:33:in `logging_query_plan'
|
|
309
|
-
activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a'
|
|
310
|
-
activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:159:in `all'
|
|
311
|
-
activerecord (3.2.9) lib/active_record/querying.rb:5:in `all'
|
|
312
|
-
/Users/gouravtiwari/audit_rails/app/controllers/audit_rails/audits_controller.rb:7:in `index'
|
|
313
|
-
actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
|
314
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
|
|
315
|
-
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
316
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
|
317
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:403:in `_run__2976259103945132511__process_action__1931461155615764677__callbacks'
|
|
318
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
319
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
|
320
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
321
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
|
322
|
-
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
323
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
|
324
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
|
|
325
|
-
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
326
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
|
|
327
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
|
328
|
-
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
|
329
|
-
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
330
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
|
|
331
|
-
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
|
|
332
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
|
|
333
|
-
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
|
334
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
|
|
335
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
|
336
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
|
337
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
|
338
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
339
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
340
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
341
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
342
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
343
|
-
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
|
344
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
345
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
346
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
347
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
348
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
|
349
|
-
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
|
350
|
-
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
|
351
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
|
352
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
|
353
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
|
354
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
|
355
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
|
356
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
|
357
|
-
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
|
|
358
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
|
359
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
|
360
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__710882036589378340__call__1785904406322369347__callbacks'
|
|
361
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
362
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
|
363
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
364
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
365
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
|
366
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
|
367
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
|
368
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
369
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
370
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
371
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
372
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
373
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
374
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
375
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
376
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
377
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
378
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
379
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
380
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
381
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
382
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
383
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
384
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
385
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
386
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
|
390
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
|
391
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.6ms)
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
Started GET "/audit_rails/audits.xls" for 127.0.0.1 at 2013-01-04 17:08:47 -0500
|
|
395
|
-
Processing by AuditRails::AuditsController#index as
|
|
396
|
-
Completed 500 Internal Server Error in 1ms
|
|
397
|
-
|
|
398
|
-
ActiveRecord::StatementInvalid (Could not find table 'audit_rails_audits'):
|
|
399
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:472:in `table_structure'
|
|
400
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
|
|
401
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
|
|
402
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `yield'
|
|
403
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `default'
|
|
404
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:228:in `columns'
|
|
405
|
-
activerecord (3.2.9) lib/active_record/model_schema.rb:237:in `columns_hash'
|
|
406
|
-
activerecord (3.2.9) lib/active_record/locking/optimistic.rb:129:in `locking_enabled?'
|
|
407
|
-
activerecord (3.2.9) lib/active_record/relation.rb:170:in `exec_queries'
|
|
408
|
-
activerecord (3.2.9) lib/active_record/relation.rb:160:in `block in to_a'
|
|
409
|
-
activerecord (3.2.9) lib/active_record/explain.rb:33:in `logging_query_plan'
|
|
410
|
-
activerecord (3.2.9) lib/active_record/relation.rb:159:in `to_a'
|
|
411
|
-
activerecord (3.2.9) lib/active_record/relation/finder_methods.rb:159:in `all'
|
|
412
|
-
activerecord (3.2.9) lib/active_record/querying.rb:5:in `all'
|
|
413
|
-
/Users/gouravtiwari/audit_rails/app/controllers/audit_rails/audits_controller.rb:7:in `index'
|
|
414
|
-
actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
|
415
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
|
|
416
|
-
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
|
417
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
|
418
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:403:in `_run__2976259103945132511__process_action__1931461155615764677__callbacks'
|
|
419
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
420
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
|
421
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
422
|
-
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
|
423
|
-
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
|
424
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
|
425
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
|
|
426
|
-
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
|
427
|
-
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
|
|
428
|
-
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
|
429
|
-
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
|
430
|
-
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
|
431
|
-
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
|
|
432
|
-
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
|
|
433
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
|
|
434
|
-
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
|
435
|
-
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
|
|
436
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
|
437
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
|
438
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
|
439
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
440
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
441
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
442
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
443
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
444
|
-
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
|
445
|
-
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
|
446
|
-
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
|
447
|
-
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
|
448
|
-
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
|
449
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
|
450
|
-
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
|
451
|
-
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
|
452
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
|
|
453
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
|
454
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
|
455
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
|
456
|
-
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
|
457
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
|
458
|
-
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
|
|
459
|
-
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
|
460
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
|
461
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__710882036589378340__call__1785904406322369347__callbacks'
|
|
462
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
|
|
463
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
|
464
|
-
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
|
465
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
|
466
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
|
467
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
|
468
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
|
469
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
470
|
-
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
|
|
471
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
|
|
472
|
-
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
473
|
-
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
|
|
474
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
475
|
-
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
476
|
-
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
477
|
-
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
478
|
-
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
479
|
-
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
480
|
-
railties (3.2.9) lib/rails/engine.rb:479:in `call'
|
|
481
|
-
railties (3.2.9) lib/rails/application.rb:223:in `call'
|
|
482
|
-
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
483
|
-
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
484
|
-
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
485
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
486
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
487
|
-
/Users/gouravtiwari/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
|
491
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
|
492
|
-
Rendered /Users/gouravtiwari/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.9ms)
|