Hello,
I was running Tracks 1.5 happily when I made the stupid mistake of updating my Debian installation to its latest release. Then I got Ruby 1.8.7 (package ruby1.8, version 1.8.7.22-3) and I could not log in anymore due to errors. So I decided to update my Tracks to 1.6 and now I can loging, but then I got the messages on the web page that I include below (but no logs). Curiously for me, a longer version gets copied using Windows copy/paste, which I have attached.
Any help would be greatly appreciated.
Regards,
Rafael
NoMethodError in Todos#index
Showing todos/_toggle_notes.rhtml where line #3 raised:
undefined method `[]' for #<Enumerable::Enumerator:0xb6fabe94>
Extracted source (around line #3):
1: <%= link_to(image_tag( 'blank.png', :width=>'16', :height=>'16', :border=>'0' ), "#", {:class => 'show_notes', :title => 'Show notes'}) %>
2: <% apply_behavior 'a.show_notes:click', :prevent_default => true do |page, element|
3: element.next('.todo_notes').toggle
4: end
5: -%>
6: <div class="todo_notes" id="<%= dom_id(item, 'notes') %>" style="display:none">
Trace of template inclusion: /todos/_todo.html.erb, /contexts/_context.rhtml, /todos/index.html.erb
RAILS_ROOT: /opt/tracks-1.6
Application Trace | Framework Trace | Full Trace
vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb:43:in `first'
vendor/rails/activesupport/lib/active_support/inflector.rb:151:in `camelize'
vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:49:in `camelize'
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:1079:in `method_missing'
vendor/plugins/unobtrusive_javascript/lib/ujs/javascript_proxies.rb:43:in `__send__'
vendor/plugins/unobtrusive_javascript/lib/ujs/javascript_proxies.rb:43:in `method_missing'
app/views/todos/_toggle_notes.rhtml:3:in `_run_erb_47app47views47todos47_toggle_notes46rhtml'
app/views/todos/_toggle_notes.rhtml:2:in `_run_erb_47app47views47todos47_toggle_notes46rhtml'
app/views/todos/_todo.html.erb:19:in `_run_erb_47app47views47todos47_todo46html46erb'
app/views/contexts/_context.rhtml:34:in `_run_erb_47app47views47contexts47_context46rhtml'
app/views/todos/index.html.erb:4:in `_run_erb_47app47views47todos47index46html46erb'
app/controllers/todos_controller.rb:568:in `render_todos_html'
app/controllers/todos_controller.rb:18:in `index'
Request
Parameters:
None
Show session dump
---
:js_behaviours:
:rules: []
:options:
:reapply_after_ajax: true
:cache:
return-to:
user_id: 2
flash: !map:ActionController::Flash::FlashHash
:notice: "Login successful: session will not expire."
noexpiry: "on"
Response
Headers:
{"Content-Type"=>"text/html",
"cookie"=>[],
"Cache-Control"=>"no-cache"}


