Railsplayground was nice enough to do initial install of Tracks for me. I setup my first user and I can go to the root of the app when I am not logged in and I see the login form, but when I login, the root of the app (I guess it’s the dashboard) gives me 500 errors. There are a a couple of other places that also give me 500 errors but let’s start here and see if the fix for this also fixes those. Here is the log from when I open the index page while logged in.
Ideas on the problem? I condensed the log info in this post. Unfortunatly the forum wont let me upload the rest of the txt log file as an attachment :(
Processing TodosController#index (for 198.211.192.162 at 2008-04-22 10:32:29) [GET]
Session ID: 8a0291f8ead3a9ad1d1f58d9b0dd1544
Parameters: {"action"=>"index", "controller"=>"todos"}
ActiveRecord::ConfigurationError (Association named 'tags' was not found; perhaps you misspelled it?):
...
Rendering actionindexlayoutfalse within layouts/standard
Rendering todos/index
Processing TodosController#index (for 198.211.192.162 at 2008-04-22 10:32:29) [GET]
Session ID: 8a0291f8ead3a9ad1d1f58d9b0dd1544
Parameters: {"action"=>"index", "controller"=>"todos"}
ActionView::TemplateError (private method `select' called for nil:NilClass) on line #1 of app/views/contexts/_context.rhtml:
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
3: <h2>
4: <% if collapsible -%>
...
Rendering actionindexlayoutfalse within layouts/standard
Rendering todos/index
ActionView::TemplateError (private method `select called for nil:NilClass) on line #1 of app/views/contexts/_context.rhtml:
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
3: <h2>
4: <% if collapsible -%>
...
On line #1 of app/views/contexts/_context.rhtml
1: <% @not_done = @not_done_todos.select {|t| t.context_id == context.id } %>
2: <div id="c<%= context.id %>" class="container context" <%= "style=\"display:none\"" if collapsible && @not_done.empty? %>>
3: <h2>
4: <% if collapsible -%>
