I am using Rails 2.3.4 and when I use rspec_scaffold the code that is
generated does not work without modification.  For example, the link_to
that is generated for a show
<td><%= link_to 'Show', invoice_payment %></td>

fails with "invoice_payment_url failed to generate from
{:format=>#<InvoicePayment id: 1, ...."

but if I change the code to
<td><%= link_to 'Show', :id => invoice_payment %></td>
it works fine.  This seems inconsistent with the documentation.

What am I doing wrong here?
-- 
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