how would you validate one of two fields
users can upload an image from either the file system or from a url
in the model how do you validate that at least only one is being used
i.e
validates_presence_of :img_path or validates_presence_of :img_url
cheers
dion