This project is archived and is in readonly mode.
[PATCH] Allow classes using validation to specify how attributes should be read
-
Jamie Hill
- Assigned user set to Yehuda Katz (wycats)
-
Jamie Hill
- Title changed from Allow classes using validation to specify how attributes should be read to [PATCH] Allow classes using validation to specify how attributes should be read
-
darkliquid
+1
This certainly makes reuse of the Validation system in isolation from the rest of the rails framework a little easier since you don't have the restriction of having to define a public reader for every attribute you want to validate.
-
Michael Koziarski
- Assigned user changed from Yehuda Katz (wycats) to josh
- Milestone cleared.
Josh is working in this area now
-
josh
- State changed from new to open
-
josh
value_foris too generic. Mayberead_attribute_for_validation. -
Jamie Hill
Thanks for getting back to me on this.
Agreed on the name, new patch attached.
-
Repository
- State changed from open to resolved
(from [cfd421daa2b04216e27d666361eb4053020e027d]) Allow validations to use values from custom readers [#2936 [PATCH] Allow classes using validation to specify how attributes should be read state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com
http://github.com/rails/rails/commit/cfd421daa2b04216e27d666361eb40...
