From: vruz Date: 2004-10-27T14:43:56+09:00 Subject: Re: [ANN] New RCRchive is open > I hope you enjoy the new RCRchive. Let me know if you have questions > or spot problems. Great work David, having everything in a database can make a lot of tasks much more easier for both the authors and Matz. I had a problem though, I wanted to see the state of some comments I posted to RCR 198. This is the text dump of the error I'm getting, hope this helps: ActiveRecord::RecordNotFound in Rcr#show Showing /rcr/show.rhtml where line #29 raised Couldn't find User without an ID 26: 27: <% end %> 28: 29: <% if @matz or (User.find(@session['user_id']).name == 'dblack') %> 30:

Matz only: accept/reject

31:

<%= link_to "ACCEPT RCR #{@rcr.number}", :action => 'accept', :id => @rcr.number %>

32:

<%= link_to "REJECT RCR #{@rcr.number}", :action => 'reject', :id => @rcr.number %>

Show template trace /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.0.0/lib/active_record/base.rb:245:in `find' (erb):29:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_view/base.rb:191:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_view/base.rb:166:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/layout.rb:136:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:22:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:22:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:22:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/base.rb:564:in `perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/filters.rb:236:in `perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:30:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:30:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/benchmarking.rb:30:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/rescue.rb:68:in `perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/base.rb:254:in `process' /usr/local/lib/ruby/gems/1.8/gems/actionpack-0.9.0/lib/action_controller/base.rb:235:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher.rb:35:in `dispatch' /dispatch.cgi:7 Request Parameters: {"id"=>"198"} Show session dump --- {} Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} Show template parameters -- --- vruz