I would like to validate a model on several events. I have:
validates_numericality_of :ships_in, :on => :update, :message =>
I have this validating on update, but I also want it to validate on save
and on create as well.
Do I have to duplicate this validator for each event? or is there
something cool i can do like:
:on => [:update, :save, :create]
(which doesn’t work)
Thanks for your help!