Re: rspec_scaffold URL generation errors

Marnen Laibow-Koser
Tue, 22 Sep 2009 15:06:09 -0000

[...]
> 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 output from "rake routes"?

>
> Any other ideas where the issue may be?

Have you restarted your server since putting that line in the routes
file?  (If you''re using Rails in development mode, this is probably not
the issue, but it''s quick and easy to try.)

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org