On Mar 9, 9:04 am, Jim Ruther Nill <[email protected]> wrote: > > i'm not sure with rails 3, but i'm pretty sure with rails 2.x as i remember > adding comments in the models reminding coders to refrain from changing > the order of validations. since changing the validation orders changes the > order of the errors shown in the view. > > but now that you mention it, maybe the order of when validations are run > is different with the order of errors shown. > The errors are stored in a hash (or at least used to be) so ordering isn't guaranteed on ruby 1.8
Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

