1
|
ActionView::TemplateError (undefined method `length' for #<Enumerable::Enumerator:0x2b3b545e5230>) on line #12 of projects/activity.rhtml:
|
2
|
9: <dt class="<%= e.event_type %> <%= User.current.logged? && e.respond_to?(:event_author) && User.current == e.event_author ? 'me' : nil %>">
|
3
|
10: <span class="time"><%= format_time(e.event_datetime, false) %></span>
|
4
|
11: <%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || @project != e.project %>
|
5
|
12: <%= link_to format_activity_title(e.event_title), e.event_url %></dt>
|
6
|
13: <dd><span class="description"><%= format_activity_description(e.event_description) %></span>
|
7
|
14: <span class="author"><%= e.event_author if e.respond_to?(:event_author) %></span></dd>
|
8
|
15: <% end -%>
|
9
|
|
10
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/text_helper.rb:50:in `truncate'
|
11
|
app/helpers/application_helper.rb:98:in `truncate_single_line'
|
12
|
app/helpers/projects_helper.rb:25:in `format_activity_title'
|
13
|
app/views/projects/activity.rhtml:12:in `_run_erb_47app47views47projects47activity46rhtml'
|
14
|
app/views/projects/activity.rhtml:8:in `each'
|
15
|
app/views/projects/activity.rhtml:8:in `_run_erb_47app47views47projects47activity46rhtml'
|
16
|
app/views/projects/activity.rhtml:5:in `each'
|
17
|
app/views/projects/activity.rhtml:5:in `_run_erb_47app47views47projects47activity46rhtml'
|
18
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send'
|
19
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template'
|
20
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template'
|
21
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file'
|
22
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file'
|
23
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:836:in `render_with_no_layout'
|
24
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark'
|
25
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
|
26
|
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
27
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render'
|
28
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in `default_render'
|
29
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in `perform_action_without_filters'
|
30
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
|
31
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
|
32
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
33
|
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
34
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
35
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
|
36
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
|
37
|
/var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
|
38
|
/var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
|
39
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
|
40
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
|
41
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
|
42
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
|
43
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
|
44
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
|
45
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
|
46
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
|
47
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
|
48
|
/var/lib/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
|
49
|
/var/lib/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:112:in `handle_dispatch'
|
50
|
/var/lib/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:78:in `service'
|
51
|
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
52
|
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
53
|
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
54
|
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
55
|
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
56
|
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
57
|
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
58
|
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
59
|
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
60
|
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
61
|
/var/lib/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:62:in `dispatch'
|
62
|
/var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/servers/webrick.rb:66
|
63
|
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
64
|
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
65
|
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
|
66
|
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
|
67
|
/var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
|
68
|
/var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
|
69
|
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
70
|
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
71
|
script/server:3
|
72
|
|
73
|
Rendering /home/redmine/redmine/public/500.html (500 Internal Server Error)
|