small medium large xlarge

David_pragsmall
29 Jan 2011, 18:07
David Klanac (4 posts)

As a convert from Symfony PHP, I’d like to see how Rails 3 handles the processing and validation for multiple models in one form. Suppose that the client wants type ahead tagging of new products when creating them in the backend. Further assume that certain characters are not permitted for typing new tags that do not yet exist (e.g. ‘#$%^&’). How would you process and validate Product and Tag models within a single form submission?

You must be logged in to comment