search for: reflect_on_all_valid

Displaying 3 results from an estimated 3 matches for "reflect_on_all_valid".

2006 Aug 14
2
Plugins: Validation Reflection and Client-Side Validation
...he plugins at svn://rubyforge.org//var/svn/valirefl/validation_reflection/trunk svn://rubyforge.org//var/svn/clientsidevali/client_side_validation/trunk Michael Validation Reflection ===================== Version 0.2, 2006-08-06 This plugin adds reflective access to validations - ModelClass.reflect_on_all_validations - ModelClass.reflect_on_validations_for(:property) = Deprecation Notice Version 0.1 had supplied three methods - validates_presence_of_mandatory_content_columns - validates_lengths_of_string_attributes - validates_all_associated These have been removed. Please use the Enforce Schem...
2006 Jul 27
9
Introspecting validates_presence_of
Hello people, I''d like to detect whether an attribute of a model has vaildates_presence_of applied to it so I can automatically apply a mandatory (*) to the field...it doesn''t look easy...any ideas? Cheers, -- Dan Webb http://www.danwebb.net
2006 Jul 28
4
Validation Reflection plugin
The validation reflection plugin adds three things (1) Reflective access to validations - ModelClass.reflect_on_all_validations - ModelClass.reflect_on_validations_for(:property) (2) It provides "declarative" methods for defining validations based on database metadata - validates_presence_of_mandatory_content_columns - validates_lengths_of_string_attributes - validates_all_associated (...