[Nitro] New implementation of Og Validations. (Help needed)

Judson Lester nyarly at gmail.com
Fri Mar 9 03:00:16 EST 2007


The bundle I sent uses a single method approach for validate_unique
and validate_relation.  value and format would be even easier to use
for that.  Still not sure about validate_relation, though.

Judson

On 3/8/07, George Moschovitis <george.moschovitis at gmail.com> wrote:
> > Oh, and I'm picking up that gauntlet, by the way.  I need validate_unique.
>
> Great.
>
> > Plus some DRYness in there, for extra niceness.
>
> Yeah, perhaps you can refactor the initialization code. One idea is to
> support only one attribute per validation macro, but perhaps the extra
> flexibility is needed.
>
> -g.
>
> --
> http://blog.gmosx.com
> http://cull.gr
> http://www.joy.gr
> http://nitroproject.org
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>


More information about the Nitro-general mailing list