To be specific, let's imagine we have two resources: Teams and Invitations (join-our-team invitations). Certainly, form for creating invitations is stored in Teams#show view, but it sends request to Invitations#create action.
The problem is: to show model validation errors (or any other action response) in the Teams#show view. Invitations#create action can only redirect to Teams#show, but not explicitly render it. So, how to pass the model @invitation (possibly with validation errors) back to Teams#show action? Or the only way is to use AJAX in this case? Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
