thank you for reading my post. When I went trough my logs last time, I
noticed that ActiveRecord calls the validate() method of one of my
models multiple times. The concerned model acts like a linked list (no
plug-in) and references itself. The validate() method is not only
called twice, but three or four times depending on the position of the
model instance in the list.
What’s the reason for this and how can I get rid of this?
thank you for reading my post. When I went trough my logs last time, I
noticed that ActiveRecord calls the validate() method of one of my
models multiple times. The concerned model acts like a linked list (no
plug-in) and references itself. The validate() method is not only
called twice, but three or four times depending on the position of the
model instance in the list.
What’s the reason for this and how can I get rid of this?
What does your code look like?
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.