Re: Validation without ActiveRecord

Wilson
Sat, 23 Jul 2005 22:28:00 -0000

Can we see the controller code for the action?
Usually it''s because you''re assuming you got there from a
fresh page.
You need to make sure you don''t make duplicate AR objects from
"params"

Carl Youngblood wrote:
> Okay, now I have another problem with my validations.  Every time I
> submit the form it adds more errors to the list of validation errors.
> The list has tons of duplicate errors.  Any ideas as to what might be
> wrong?  I''m assuming that what it should do instead is just keep
> reloading the form with the same errors listed.
>