TMB
TMB

Reputation: 11

Rails 2.3 - Render Issue on failed validation (one controller to another)

I have a controller (items) that renders a contact form if an item is searched for and found. The items are find by url parameters. The problem I'm having is that if validation fails, I don't know how to re-render the contact form back into the items controller while maintaining the url parameters.

Thanks in advance for any help.

Upvotes: 1

Views: 113

Answers (1)

lest
lest

Reputation: 8100

Maybe use AJAX for contact form. This would be nice for users and it doesn't have described problems.

Upvotes: 1

Related Questions