[Rails] Re: rspec_scaffold URL generation errors

2009-09-23 Thread Steve Scruggs
Steve Scruggs wrote: The problem was caused by the plugin resource_fu. I removed the plugin and the url's are now generated as expected. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Rails] Re: rspec_scaffold URL generation errors

2009-09-22 Thread Robert Walker
Steve Scruggs wrote: 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

[Rails] Re: rspec_scaffold URL generation errors

2009-09-22 Thread Steve Scruggs
Robert Walker wrote: Steve Scruggs wrote: 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

[Rails] Re: rspec_scaffold URL generation errors

2009-09-22 Thread Marnen Laibow-Koser
Steve Scruggs wrote: [...] Thanks for the quick reply Robert. The syntax that you suggest gives the same error. Of course. You must fix your routing, I think. The routes.rb file has the following as the first item. map.resources :invoice_payments That should be OK. How's your

[Rails] Re: rspec_scaffold URL generation errors

2009-09-22 Thread Steve Scruggs
Marnen Laibow-Koser wrote: Steve Scruggs wrote: [...] Thanks for the quick reply Robert. The syntax that you suggest gives the same error. Of course. You must fix your routing, I think. The routes.rb file has the following as the first item. map.resources :invoice_payments