5 Posts tagged with validation
assert_valid_markup
Validate your (X)HTML against the W3C Validator web service from within your functional tests.
SoftValidations
Provides an additional AR::Errors object, referred to as warnings, to ActiveRecord objects. Useful for noting that objects are valid but not in the desired 'complete' state.
Display Validation Errors For Your Ajaxified Form
Nice pattern for displaying validation errors for an AJAX-ed Form
easily stop double posts :: evan weaver
I never knew about the :scope option on validates_uniqueness_of! Nice catch.