Hi,
I am trying to install the new version 1.7.rc2 under Linux (Fedora 9). Actually, I’m upgrading from version 1.6. After a few issues installing the mysql gem, I have successfully migrated my database and started the Tracks server. However, I now get the following errors in my browser (FF 3.0.6) when accessing Tracks: “NoMethodError in Todos#index ... undefined method `in_time_zone’ for Fri, 20 Feb 2009:Date”. The full error page is pasted below.
Any ideas?
Thanks,
Dave.
———————
NoMethodError in Todos#index
Showing app/views/todos/_todo.html.erb where line #15 raised:
undefined method `in_time_zone’ for Fri, 20 Feb 2009:Date
Extracted source (around line #15):
12: <%= remote_toggle_checkbox unless source_view_is :deferred %>
13: <div class=“description<%= staleness_class( todo ) %>”>
14: <% unless @todo.completed? %><span class=“defer-container”><%= defer_link(1) %> <%= defer_link(7) %></span><% end %>
15: <%= date_span -%>
16: <span class=“todo.descr”><%= h sanitize(todo.description) %></span>
17: <%= link_to(
18: image_tag(“recurring16x16.png”),
Trace of template inclusion: app/views/contexts/_context.rhtml, app/views/todos/index.html.erb
RAILS_ROOT: /home/dxp/usr/packages/tracks-1.7rc2
Application Trace | Framework Trace | Full Trace
app/helpers/application_helper.rb:27:in `days_from_today’
app/helpers/application_helper.rb:38:in `due_date’
app/helpers/todos_helper.rb:99:in `date_span’
app/views/todos/_todo.html.erb:15
app/views/contexts/_context.rhtml:39
(__DELEGATION__):2:in `map’
(__DELEGATION__):2:in `__send__’
(__DELEGATION__):2:in `map’
app/views/todos/index.html.erb:4
app/controllers/todos_controller.rb:716:in `render_todos_html’
app/controllers/todos_controller.rb:19:in `index’
