Class validations - instance equivalent?

does anyone know if it’s possible to use rails validators from
validate()

I have some conditional validation to do, and using :if => Proc.new…
on
the class validators is getting messy, so I’m doing the condition
checking
in one place - validate() - except of course I can’t use rails
validators
there. I’ve started writing my own validators but I hate to re-invent
the
wheel. any suggestions?

thanks
alan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs