Re: [Rails] Sending errors in response when using 'render'

2013-05-09 Thread tamouse mailing lists
On Thu, May 9, 2013 at 11:59 AM, Sumit Srivastava wrote: > Hi, > > I have a partial which is being rendered in a view in controller A. This > partial has a form which calls 'update' action in controller B. If update > fails I have the render back the original view again with the proper errors. > I

[Rails] Sending errors in response when using 'render'

2013-05-09 Thread Sumit Srivastava
Hi, I have a partial which is being rendered in a view in controller A. This partial has a form which calls 'update' action in controller B. If update fails I have the render back the original view again with the proper errors. I used, render :action => :show This show action is actually is t