codice:
ActionController::RoutingError in Books#show 
Showing app/views/books/show.html.erb where line #42 raised: 

edit_book_url failed to generate from {:action=>"edit", :controller=>"books", :id=>#<Book ID: 3, TITOLO: "c", ANNO: 2009, AUTORE: "c", EDITORE: "c", PAGINE: 10, PREZZO: #<BigDecimal:381e0cc,'0.1036E2',8(8)>, ISBN: 12>}, expected: {:controller=>"books", :action=>"edit"}, diff: {:id=>#<Book ID: 3, TITOLO: "c", ANNO: 2009, AUTORE: "c", EDITORE: "c", PAGINE: 10, PREZZO: #<BigDecimal:381d578,'0.1036E2',8(8)>, ISBN: 12>}

Extracted source (around line #42): 

39: </p>
40: 
41: 
42: <%= link_to 'Edit', edit_book_path(@book) %> |
43: <%= link_to 'Back', books_path %>



RAILS_ROOT: C:/biblioteca

Application Trace | Framework Trace | Full Trace 
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-
....
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb:13:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Request
Parameters: 

{"id"=>"3"}

Show session dump

--- 

Response
Headers: 

{"Content-Type"=>"text/html",
 "Cache-Control"=>"no-cache"}