Say controller x, action a has a form on it that submits to controller y,
action b, and validation fails during the submit. I want to display the
result of controller x, action a with the validation messages.

In psuedocode, I am here:

'
controller y

   action b
        if !item.save
            # Do something here
       end
   end

I'm having trouble with the do somethign here section. I tried "render
:template 'x/A'" but that didn't load all the required information.  What is
the best practice for cross controller validation failures?

Thanks
Jim Englert.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to