search for: question_sweeper

Displaying 1 result from an estimated 1 matches for "question_sweeper".

2007 Feb 09
1
after_update and increment!
...pgraded to 1.2. I''ve got two models - questions and results. When a user answers a question, his answer is recorded in results. In my results model, I have an after_create that increments! a count in the question model. This increment is now triggering an after_update method I have in a question_sweeper. (which causes an error) This sweeper is used to sweep my question cache files. I started noticing this problem when I went into production mode. Development mode pre-1.2 was working fine. Production mode pre-1.2 was not. I upgraded to 1.2 today because I thought an older edge rails might have a b...