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 that of controller B but the call being 
ajax it is not loaded and the original view continues to be displayed but 
the errors are not being shown. 

The problem is I am not able to detect the errors being received if any.

Need suggestions urgently

Regards,
Sumit.


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/Y61TT1YJ_GYJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to