Validate depending on action

Hi,

Is it possible use validations depending on the action?

Greg

On May 6, 2:03 pm, Greg Ma [email protected] wrote:

Hi,

Is it possible use validations depending on the action?

Sort of - the :if/:unless options to validations are pretty powerful,
but it’s not quite as simple as saying :action => :blah (apart from
anything else the model shouldn’t really know anything about what the
controller has been doing

Fred