Dion Hewson
2006-Jul-29 16:57 UTC
[Rails] validations not run till after action in controller is called
Hi there I am uploading data and images in a form and I am trying to validate the url of the img before it is uploaded and the record is saved... the controller works fine when the url is valid but while trying to test invalid url''s I found that the validations are not run until the end of the action is there a way to run validations on a post before the action is called? cheers dion -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060729/70d18fb9/attachment.html