I have a link on a form that allows for infinite new records to be created. i.e. Clicking "Add new record" basically renders the _new partial and appends it to a div.
The model contains validates_uniqueness_of and validates_presence_of a few fields. This is all well and good, however, when validation fails at the model level, the users don't get any feedback or explanation as to why the creation of the model failed. Is there a technique for validating these types of records? and giving the user some sort of feedback? TIA -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---