[Rails] Re: Routing error: no route matches contoller works. Route exists though

2012-06-05 Thread Martyn W.
Martyn W. wrote in post #1063175: > I have a fairly straight forward rails app, version 3.2. When I try to > create a Work instance, with deliberately invalid fields from a form, I > get a routing error: > > No route matches {:controller=>"works"} > > This does not happen when I try the same te

Re: [Rails] Re: Routing error: no route matches contoller works. Route exists though

2012-06-05 Thread Jeremy Walker
On 5 June 2012 18:08, Martyn W. wrote: > Hassan Schroeder wrote in post #1063180: > > On Tue, Jun 5, 2012 at 9:56 AM, Martyn W. wrote: > > > >> I dont understand why after failing the save in the controller and > >> trying to render "new" it would give me a route matching error. Any > >> ideas?

[Rails] Re: Routing error: no route matches contoller works. Route exists though

2012-06-05 Thread Martyn W.
Hassan Schroeder wrote in post #1063180: > On Tue, Jun 5, 2012 at 9:56 AM, Martyn W. wrote: > >> I dont understand why after failing the save in the controller and >> trying to render "new" it would give me a route matching error. Any >> ideas? > > Yes - look at the log for that request :-) > > --