search for: t909731

Displaying 1 result from an estimated 1 matches for "t909731".

Did you mean: 989731
2006 Jan 13
2
Validation with AJAX; how to DRY validation?
What are some good ways of doing validation with AJAX in Rails (with Prototype/Scriptaculous)? I have some Ajax.InPlaceEditors, and I would like the page with the editors on it to display errors if the data given is e.g. too short, too long, wrong format... Ideally, this should be DRY in regard to the validators. A related question: is there any way of DRY between the database table field