exception_engine 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -4
- data/Gemfile.lock +58 -44
- data/app/models/exception_engine/backtrace_data.rb +3 -3
- data/app/models/exception_engine/data.rb +10 -2
- data/app/views/exceptions/index.html.erb +1 -1
- data/lib/exception_engine.rb +3 -3
- data/lib/exception_engine/version.rb +1 -1
- data/test/dummy/log/development.log +376 -0
- data/test/dummy/log/test.log +1852 -0
- metadata +2 -2
data/Gemfile
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "rails", "3.0.
|
3
|
+
gem "rails", "3.0.5"
|
4
4
|
gem "capybara", ">= 0.4.0"
|
5
5
|
gem "sqlite3-ruby", :require => "sqlite3"
|
6
|
+
gem 'bson_ext', '1.2.4'
|
6
7
|
gem "mongoid", "2.0.0.rc.5"
|
7
|
-
gem 'mongo', '1.1.5'
|
8
|
-
gem 'bson_ext', '1.2.0'
|
9
8
|
|
10
9
|
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
|
11
10
|
# gem 'ruby-debug'
|
12
|
-
|
11
|
+
group :development, :test do
|
12
|
+
gem 'ruby-debug19'
|
13
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -2,37 +2,38 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.
|
6
|
-
actionpack (= 3.0.
|
7
|
-
mail (~> 2.2.
|
8
|
-
actionpack (3.0.
|
9
|
-
activemodel (= 3.0.
|
10
|
-
activesupport (= 3.0.
|
5
|
+
actionmailer (3.0.5)
|
6
|
+
actionpack (= 3.0.5)
|
7
|
+
mail (~> 2.2.15)
|
8
|
+
actionpack (3.0.5)
|
9
|
+
activemodel (= 3.0.5)
|
10
|
+
activesupport (= 3.0.5)
|
11
11
|
builder (~> 2.1.2)
|
12
12
|
erubis (~> 2.6.6)
|
13
13
|
i18n (~> 0.4)
|
14
14
|
rack (~> 1.2.1)
|
15
15
|
rack-mount (~> 0.6.13)
|
16
|
-
rack-test (~> 0.5.
|
16
|
+
rack-test (~> 0.5.7)
|
17
17
|
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.
|
19
|
-
activesupport (= 3.0.
|
18
|
+
activemodel (3.0.5)
|
19
|
+
activesupport (= 3.0.5)
|
20
20
|
builder (~> 2.1.2)
|
21
21
|
i18n (~> 0.4)
|
22
|
-
activerecord (3.0.
|
23
|
-
activemodel (= 3.0.
|
24
|
-
activesupport (= 3.0.
|
22
|
+
activerecord (3.0.5)
|
23
|
+
activemodel (= 3.0.5)
|
24
|
+
activesupport (= 3.0.5)
|
25
25
|
arel (~> 2.0.2)
|
26
26
|
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.
|
28
|
-
activemodel (= 3.0.
|
29
|
-
activesupport (= 3.0.
|
30
|
-
activesupport (3.0.
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
activeresource (3.0.5)
|
28
|
+
activemodel (= 3.0.5)
|
29
|
+
activesupport (= 3.0.5)
|
30
|
+
activesupport (3.0.5)
|
31
|
+
archive-tar-minitar (0.5.2)
|
32
|
+
arel (2.0.9)
|
33
|
+
bson (1.2.4)
|
34
|
+
bson_ext (1.2.4)
|
34
35
|
builder (2.1.2)
|
35
|
-
capybara (0.4.1.
|
36
|
+
capybara (0.4.1.2)
|
36
37
|
celerity (>= 0.7.9)
|
37
38
|
culerity (>= 0.2.4)
|
38
39
|
mime-types (>= 1.16)
|
@@ -41,17 +42,20 @@ GEM
|
|
41
42
|
rack-test (>= 0.5.4)
|
42
43
|
selenium-webdriver (>= 0.0.27)
|
43
44
|
xpath (~> 0.1.3)
|
44
|
-
celerity (0.8.
|
45
|
-
childprocess (0.1.
|
46
|
-
ffi (~> 0.6
|
45
|
+
celerity (0.8.8)
|
46
|
+
childprocess (0.1.8)
|
47
|
+
ffi (~> 1.0.6)
|
48
|
+
columnize (0.3.2)
|
47
49
|
culerity (0.2.15)
|
48
50
|
erubis (2.6.6)
|
49
51
|
abstract (>= 1.0.0)
|
50
|
-
ffi (0.
|
52
|
+
ffi (1.0.7)
|
51
53
|
rake (>= 0.8.7)
|
52
54
|
i18n (0.5.0)
|
53
|
-
json_pure (1.5.
|
54
|
-
|
55
|
+
json_pure (1.5.1)
|
56
|
+
linecache19 (0.5.11)
|
57
|
+
ruby_core_source (>= 0.1.4)
|
58
|
+
mail (2.2.15)
|
55
59
|
activesupport (>= 2.3.6)
|
56
60
|
i18n (>= 0.4.0)
|
57
61
|
mime-types (~> 1.16)
|
@@ -66,29 +70,39 @@ GEM
|
|
66
70
|
will_paginate (~> 3.0.pre)
|
67
71
|
nokogiri (1.4.4)
|
68
72
|
polyglot (0.3.1)
|
69
|
-
rack (1.2.
|
73
|
+
rack (1.2.2)
|
70
74
|
rack-mount (0.6.13)
|
71
75
|
rack (>= 1.0.0)
|
72
76
|
rack-test (0.5.7)
|
73
77
|
rack (>= 1.0)
|
74
|
-
rails (3.0.
|
75
|
-
actionmailer (= 3.0.
|
76
|
-
actionpack (= 3.0.
|
77
|
-
activerecord (= 3.0.
|
78
|
-
activeresource (= 3.0.
|
79
|
-
activesupport (= 3.0.
|
78
|
+
rails (3.0.5)
|
79
|
+
actionmailer (= 3.0.5)
|
80
|
+
actionpack (= 3.0.5)
|
81
|
+
activerecord (= 3.0.5)
|
82
|
+
activeresource (= 3.0.5)
|
83
|
+
activesupport (= 3.0.5)
|
80
84
|
bundler (~> 1.0)
|
81
|
-
railties (= 3.0.
|
82
|
-
railties (3.0.
|
83
|
-
actionpack (= 3.0.
|
84
|
-
activesupport (= 3.0.
|
85
|
+
railties (= 3.0.5)
|
86
|
+
railties (3.0.5)
|
87
|
+
actionpack (= 3.0.5)
|
88
|
+
activesupport (= 3.0.5)
|
85
89
|
rake (>= 0.8.7)
|
86
90
|
thor (~> 0.14.4)
|
87
91
|
rake (0.8.7)
|
92
|
+
ruby-debug-base19 (0.11.24)
|
93
|
+
columnize (>= 0.3.1)
|
94
|
+
linecache19 (>= 0.5.11)
|
95
|
+
ruby_core_source (>= 0.1.4)
|
96
|
+
ruby-debug19 (0.11.6)
|
97
|
+
columnize (>= 0.3.1)
|
98
|
+
linecache19 (>= 0.5.11)
|
99
|
+
ruby-debug-base19 (>= 0.11.19)
|
100
|
+
ruby_core_source (0.1.4)
|
101
|
+
archive-tar-minitar (>= 0.5.2)
|
88
102
|
rubyzip (0.9.4)
|
89
|
-
selenium-webdriver (0.1.
|
90
|
-
childprocess (
|
91
|
-
ffi (
|
103
|
+
selenium-webdriver (0.1.4)
|
104
|
+
childprocess (>= 0.1.7)
|
105
|
+
ffi (>= 1.0.7)
|
92
106
|
json_pure
|
93
107
|
rubyzip
|
94
108
|
sqlite3 (1.3.3)
|
@@ -97,7 +111,7 @@ GEM
|
|
97
111
|
thor (0.14.6)
|
98
112
|
treetop (1.4.9)
|
99
113
|
polyglot (>= 0.3.1)
|
100
|
-
tzinfo (0.3.
|
114
|
+
tzinfo (0.3.25)
|
101
115
|
will_paginate (3.0.pre2)
|
102
116
|
xpath (0.1.3)
|
103
117
|
nokogiri (~> 1.3)
|
@@ -106,9 +120,9 @@ PLATFORMS
|
|
106
120
|
ruby
|
107
121
|
|
108
122
|
DEPENDENCIES
|
109
|
-
bson_ext (= 1.2.
|
123
|
+
bson_ext (= 1.2.4)
|
110
124
|
capybara (>= 0.4.0)
|
111
|
-
mongo (= 1.1.5)
|
112
125
|
mongoid (= 2.0.0.rc.5)
|
113
|
-
rails (= 3.0.
|
126
|
+
rails (= 3.0.5)
|
127
|
+
ruby-debug19
|
114
128
|
sqlite3-ruby
|
@@ -2,9 +2,9 @@ module ExceptionEngine
|
|
2
2
|
class BacktraceData
|
3
3
|
include Mongoid::Document
|
4
4
|
|
5
|
-
field :
|
6
|
-
field :file
|
7
|
-
field :ruby_method
|
5
|
+
field :line_num, :type => Integer
|
6
|
+
field :file, :type => String
|
7
|
+
field :ruby_method, :type => String
|
8
8
|
embedded_in :data, :inverse_of => :backtraces
|
9
9
|
end
|
10
10
|
end
|
@@ -16,8 +16,16 @@ module ExceptionEngine
|
|
16
16
|
def parse(notice)
|
17
17
|
self.error_class = notice.error_class
|
18
18
|
self.error_message = notice.error_message
|
19
|
-
notice.backtrace.lines.
|
20
|
-
|
19
|
+
if !notice.backtrace.lines.empty?
|
20
|
+
notice.backtrace.lines.each do | line |
|
21
|
+
if !line.nil?
|
22
|
+
b = ExceptionEngine::BacktraceData.new
|
23
|
+
b.line_num = line.number
|
24
|
+
b.file = line.file
|
25
|
+
b.ruby_method = line.method
|
26
|
+
self.backtraces << b
|
27
|
+
end
|
28
|
+
end
|
21
29
|
end
|
22
30
|
self.created_at = Time.now.utc
|
23
31
|
end
|
data/lib/exception_engine.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require "
|
2
|
-
require "exception_engine/exception_middleware"
|
1
|
+
require "mongoid"
|
3
2
|
require "exception_engine/backtrace"
|
4
3
|
require "exception_engine/notice"
|
5
|
-
require "
|
4
|
+
require "exception_engine/exception_middleware"
|
5
|
+
require "exception_engine/engine"
|
6
6
|
|
7
7
|
# We are required to choose a database name
|
8
8
|
Mongoid.configure do |config|
|
@@ -610,3 +610,379 @@ Started GET "/exceptions" for 127.0.0.1 at 2011-02-17 17:26:07 +0800
|
|
610
610
|
Processing by ExceptionsController#index as HTML
|
611
611
|
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (693.5ms)
|
612
612
|
Completed 200 OK in 856ms (Views: 766.5ms | ActiveRecord: 0.0ms)
|
613
|
+
|
614
|
+
|
615
|
+
Started GET "/" for 127.0.0.1 at 2011-03-09 17:00:01 +0800
|
616
|
+
|
617
|
+
ActionController::RoutingError (No route matches "/"):
|
618
|
+
|
619
|
+
|
620
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
|
621
|
+
|
622
|
+
|
623
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:00:05 +0800
|
624
|
+
Processing by PostsController#index as HTML
|
625
|
+
Completed in 9ms
|
626
|
+
|
627
|
+
NameError (uninitialized constant PostsController::Post):
|
628
|
+
app/controllers/posts_controller.rb:3:in `index'
|
629
|
+
|
630
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
|
631
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.6ms)
|
632
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (209.8ms)
|
633
|
+
|
634
|
+
|
635
|
+
Started GET "/exceptions" for 127.0.0.1 at 2011-03-09 17:00:18 +0800
|
636
|
+
Processing by ExceptionsController#index as HTML
|
637
|
+
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (69.9ms)
|
638
|
+
Completed 200 OK in 158ms (Views: 79.3ms | ActiveRecord: 0.0ms)
|
639
|
+
|
640
|
+
|
641
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:01:33 +0800
|
642
|
+
Processing by PostsController#index as HTML
|
643
|
+
Completed in 9ms
|
644
|
+
|
645
|
+
NameError (uninitialized constant PostsController::Post):
|
646
|
+
app/controllers/posts_controller.rb:3:in `index'
|
647
|
+
|
648
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
|
649
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.3ms)
|
650
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.5ms)
|
651
|
+
|
652
|
+
|
653
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:03:29 +0800
|
654
|
+
|
655
|
+
NoMethodError (undefined method `cattr' for Post:Class):
|
656
|
+
app/models/post.rb:2:in `<class:Post>'
|
657
|
+
app/models/post.rb:1:in `<top (required)>'
|
658
|
+
|
659
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
|
660
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
|
661
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.8ms)
|
662
|
+
|
663
|
+
|
664
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:03:30 +0800
|
665
|
+
|
666
|
+
NoMethodError (undefined method `cattr' for Post:Class):
|
667
|
+
app/models/post.rb:2:in `<class:Post>'
|
668
|
+
app/models/post.rb:1:in `<top (required)>'
|
669
|
+
|
670
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
|
671
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
|
672
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.5ms)
|
673
|
+
|
674
|
+
|
675
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:04:35 +0800
|
676
|
+
Processing by PostsController#index as HTML
|
677
|
+
Rendered posts/index.html.erb within layouts/application (2.9ms)
|
678
|
+
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
|
679
|
+
|
680
|
+
|
681
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:05:03 +0800
|
682
|
+
Processing by PostsController#index as HTML
|
683
|
+
Rendered posts/index.html.erb within layouts/application (3.1ms)
|
684
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)
|
685
|
+
|
686
|
+
|
687
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:05:23 +0800
|
688
|
+
Processing by PostsController#index as HTML
|
689
|
+
Rendered posts/index.html.erb within layouts/application (3.0ms)
|
690
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)
|
691
|
+
|
692
|
+
|
693
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:05:38 +0800
|
694
|
+
Processing by PostsController#index as HTML
|
695
|
+
Rendered posts/index.html.erb within layouts/application (3.0ms)
|
696
|
+
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
|
697
|
+
|
698
|
+
|
699
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:06:01 +0800
|
700
|
+
Processing by PostsController#index as HTML
|
701
|
+
Rendered posts/index.html.erb within layouts/application (130.6ms)
|
702
|
+
Completed in 139ms
|
703
|
+
|
704
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x0000010316c4d0>:0x00000103169f00>):
|
705
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
706
|
+
2:
|
707
|
+
3: <p><%= after_menu %></p>
|
708
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___2111174344045010487_2173383060_2979761196352173684'
|
709
|
+
|
710
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
|
711
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (7.4ms)
|
712
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.2ms)
|
713
|
+
|
714
|
+
|
715
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:06:55 +0800
|
716
|
+
Processing by PostsController#index as HTML
|
717
|
+
Rendered posts/index.html.erb within layouts/application (1.1ms)
|
718
|
+
Completed in 9ms
|
719
|
+
|
720
|
+
ActionView::Template::Error (undefined method `after_menu' for EwCore::Menu:Module):
|
721
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
722
|
+
2:
|
723
|
+
3: <p><%= EwCore::Menu.after_menu %></p>
|
724
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___2111174344045010487_2156217420_2979761196352173684'
|
725
|
+
|
726
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
727
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.4ms)
|
728
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.4ms)
|
729
|
+
|
730
|
+
|
731
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:10:33 +0800
|
732
|
+
Processing by PostsController#index as HTML
|
733
|
+
Rendered posts/index.html.erb within layouts/application (69.2ms)
|
734
|
+
Completed in 78ms
|
735
|
+
|
736
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EwCore):
|
737
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
738
|
+
2:
|
739
|
+
3: <p><%= EwCore::Menu.after_menu %></p>
|
740
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___499422231520092693_2156338780_364330683967191120'
|
741
|
+
|
742
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
|
743
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (10.8ms)
|
744
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (24.1ms)
|
745
|
+
|
746
|
+
|
747
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:10:53 +0800
|
748
|
+
Processing by PostsController#index as HTML
|
749
|
+
Rendered posts/index.html.erb within layouts/application (11.9ms)
|
750
|
+
Completed in 20ms
|
751
|
+
|
752
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x000001025de960>:0x000001025da428>):
|
753
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
754
|
+
2:
|
755
|
+
3: <p><%= after_menu %></p>
|
756
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___499422231520092693_2167321580_364330683967191120'
|
757
|
+
|
758
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
759
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.3ms)
|
760
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.4ms)
|
761
|
+
|
762
|
+
|
763
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:12:43 +0800
|
764
|
+
Processing by PostsController#index as HTML
|
765
|
+
Rendered posts/index.html.erb within layouts/application (51.8ms)
|
766
|
+
Completed in 60ms
|
767
|
+
|
768
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x00000100e89558>:0x00000100e86588>):
|
769
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
770
|
+
2:
|
771
|
+
3: <p><%= after_menu %></p>
|
772
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___1425877934726269581_2155091940_4321054144672688246'
|
773
|
+
|
774
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
775
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.5ms)
|
776
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.9ms)
|
777
|
+
|
778
|
+
|
779
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:13:17 +0800
|
780
|
+
Processing by PostsController#index as HTML
|
781
|
+
Rendered posts/index.html.erb within layouts/application (52.6ms)
|
782
|
+
Completed in 61ms
|
783
|
+
|
784
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x00000100d8d9d8>:0x00000100d892c0>):
|
785
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
786
|
+
2:
|
787
|
+
3: <p><%= after_menu %></p>
|
788
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb__709668566935564813_2154575760_926139543463186889'
|
789
|
+
|
790
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
791
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.7ms)
|
792
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.7ms)
|
793
|
+
|
794
|
+
|
795
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:13:55 +0800
|
796
|
+
Processing by PostsController#index as HTML
|
797
|
+
Rendered posts/index.html.erb within layouts/application (29.0ms)
|
798
|
+
Completed in 37ms
|
799
|
+
|
800
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EwCore):
|
801
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
802
|
+
2:
|
803
|
+
3: <p><%= EwCore::Menu.after_menu %></p>
|
804
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb__709668566935564813_2169655680_926139543463186889'
|
805
|
+
|
806
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
807
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.5ms)
|
808
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.5ms)
|
809
|
+
|
810
|
+
|
811
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:13:57 +0800
|
812
|
+
Processing by PostsController#index as HTML
|
813
|
+
Rendered posts/index.html.erb within layouts/application (29.3ms)
|
814
|
+
Completed in 37ms
|
815
|
+
|
816
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EwCore):
|
817
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
818
|
+
2:
|
819
|
+
3: <p><%= EwCore::Menu.after_menu %></p>
|
820
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb__709668566935564813_2157822320_926139543463186889'
|
821
|
+
|
822
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
823
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.3ms)
|
824
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms)
|
825
|
+
|
826
|
+
|
827
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:14:12 +0800
|
828
|
+
Processing by PostsController#index as HTML
|
829
|
+
Rendered posts/index.html.erb within layouts/application (29.5ms)
|
830
|
+
Completed in 37ms
|
831
|
+
|
832
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EwCore):
|
833
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
834
|
+
2:
|
835
|
+
3: <p><%= EwCore::Menu.new.after_menu %></p>
|
836
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb__709668566935564813_2153916860_926139543463186889'
|
837
|
+
|
838
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
839
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.3ms)
|
840
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.4ms)
|
841
|
+
|
842
|
+
|
843
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:15:15 +0800
|
844
|
+
Processing by PostsController#index as HTML
|
845
|
+
Rendered posts/index.html.erb within layouts/application (52.6ms)
|
846
|
+
Completed in 61ms
|
847
|
+
|
848
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x00000101483260>:0x00000101457ac0>):
|
849
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
850
|
+
2:
|
851
|
+
3: <p><%= after_menu %></p>
|
852
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___2768670681637918136_2158067840_3955935918643406639'
|
853
|
+
|
854
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
855
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.4ms)
|
856
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.5ms)
|
857
|
+
|
858
|
+
|
859
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:17:54 +0800
|
860
|
+
Processing by PostsController#index as HTML
|
861
|
+
Rendered posts/index.html.erb within layouts/application (66.0ms)
|
862
|
+
Completed in 76ms
|
863
|
+
|
864
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x00000101347ec8>:0x00000101344ea8>):
|
865
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
866
|
+
2:
|
867
|
+
3: <p><%= after_menu %></p>
|
868
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb___1024877634781389567_2157582500_3647738590778961060'
|
869
|
+
|
870
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
871
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.6ms)
|
872
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.8ms)
|
873
|
+
|
874
|
+
|
875
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-09 17:18:44 +0800
|
876
|
+
Processing by PostsController#index as HTML
|
877
|
+
Rendered posts/index.html.erb within layouts/application (52.3ms)
|
878
|
+
Completed in 60ms
|
879
|
+
|
880
|
+
ActionView::Template::Error (undefined local variable or method `after_menu' for #<#<Class:0x00000100f1cf10>:0x00000100f18ac8>):
|
881
|
+
1: <p><%= @post.name %>: <%= @post.age %></p>
|
882
|
+
2:
|
883
|
+
3: <p><%= after_menu %></p>
|
884
|
+
app/views/posts/index.html.erb:3:in `_app_views_posts_index_html_erb__1968410612231756639_2155387260_3846843260899718418'
|
885
|
+
|
886
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
887
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.4ms)
|
888
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms)
|
889
|
+
|
890
|
+
|
891
|
+
Started GET "/exceptions" for 127.0.0.1 at 2011-03-09 17:19:32 +0800
|
892
|
+
Processing by ExceptionsController#index as HTML
|
893
|
+
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (854.1ms)
|
894
|
+
Completed 200 OK in 895ms (Views: 863.4ms | ActiveRecord: 0.0ms)
|
895
|
+
|
896
|
+
|
897
|
+
Started GET "/" for 127.0.0.1 at 2011-03-23 13:28:49 +0800
|
898
|
+
|
899
|
+
ActionController::RoutingError (No route matches "/"):
|
900
|
+
|
901
|
+
|
902
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
|
903
|
+
|
904
|
+
|
905
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-23 13:28:56 +0800
|
906
|
+
Processing by PostsController#index as HTML
|
907
|
+
Completed in 10ms
|
908
|
+
|
909
|
+
NameError (uninitialized constant PostsController::Post):
|
910
|
+
app/controllers/posts_controller.rb:3:in `index'
|
911
|
+
|
912
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
913
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.6ms)
|
914
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms)
|
915
|
+
|
916
|
+
|
917
|
+
Started GET "/exceptions" for 127.0.0.1 at 2011-03-23 13:29:06 +0800
|
918
|
+
Processing by ExceptionsController#index as HTML
|
919
|
+
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (532.9ms)
|
920
|
+
Completed 200 OK in 676ms (Views: 586.5ms | ActiveRecord: 0.0ms)
|
921
|
+
|
922
|
+
|
923
|
+
Started GET "/exceptions" for 127.0.0.1 at 2011-03-23 13:29:35 +0800
|
924
|
+
Processing by ExceptionsController#index as HTML
|
925
|
+
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (494.7ms)
|
926
|
+
Completed 200 OK in 560ms (Views: 504.6ms | ActiveRecord: 0.0ms)
|
927
|
+
|
928
|
+
|
929
|
+
Started GET "/exceptions" for 127.0.0.1 at 2011-03-23 13:30:13 +0800
|
930
|
+
Processing by ExceptionsController#index as HTML
|
931
|
+
Rendered /Users/fadhlirahim/Projects/exception_engine/app/views/exceptions/index.html.erb within layouts/application (579.5ms)
|
932
|
+
Completed 200 OK in 720ms (Views: 664.5ms | ActiveRecord: 0.0ms)
|
933
|
+
|
934
|
+
|
935
|
+
Started GET "/" for 127.0.0.1 at 2011-03-23 14:13:07 +0800
|
936
|
+
|
937
|
+
ActionController::RoutingError (No route matches "/"):
|
938
|
+
|
939
|
+
|
940
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
|
941
|
+
|
942
|
+
|
943
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-23 14:13:11 +0800
|
944
|
+
Processing by PostsController#index as HTML
|
945
|
+
Completed in 9ms
|
946
|
+
|
947
|
+
NoMethodError (You have a nil object when you didn't expect it!
|
948
|
+
You might have expected an instance of ActiveRecord::Base.
|
949
|
+
The error occurred while evaluating nil.[]=):
|
950
|
+
|
951
|
+
|
952
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
953
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.9ms)
|
954
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.3ms)
|
955
|
+
|
956
|
+
|
957
|
+
Started GET "/" for 127.0.0.1 at 2011-03-23 17:35:22 +0800
|
958
|
+
|
959
|
+
ActionController::RoutingError (No route matches "/"):
|
960
|
+
|
961
|
+
|
962
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
|
963
|
+
|
964
|
+
|
965
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-23 17:35:27 +0800
|
966
|
+
Processing by PostsController#index as HTML
|
967
|
+
Completed in 9ms
|
968
|
+
|
969
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
970
|
+
|
971
|
+
NameError (uninitialized constant PostsController::Post):
|
972
|
+
app/controllers/posts_controller.rb:3:in `index'
|
973
|
+
|
974
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
975
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.8ms)
|
976
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms)
|
977
|
+
|
978
|
+
|
979
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-23 17:36:12 +0800
|
980
|
+
Processing by PostsController#index as HTML
|
981
|
+
Completed in 10ms
|
982
|
+
|
983
|
+
NameError (uninitialized constant PostsController::Post):
|
984
|
+
app/controllers/posts_controller.rb:3:in `index'
|
985
|
+
|
986
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
|
987
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.9ms)
|
988
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.9ms)
|