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
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
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
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
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
5 matches
Mail list logo