You are in not rule of your routes.rb, because the error said that cant 
process ID=10

I suggest you do it :

   1.
   2.def update
   3.  @score = Score.find(params[:id])
   4.  respond_to do |format|
   5.    if @score.update_attributes(params[:score])
   6.       flash[:notice] = 'Score was successfully updated.'
   7.       format.html{redirect_to scores_path(@score) }
   8.    else
   9.       format.html{render :action => 'edit'}
  10.    end
  11.  end
  12.end


Answered on Sunday, 28-Sept-2008
By   : Y Reinhart AP
Blog : Teapoci.Blogspot.com
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to