tashfeen.ekram wrote: > That makes sense. > > That is pretty much what I needed. > > One more question, it would be best to avoid after_save here so as not > to make an extra unnecessary save to the DB?
Yup. Generally, callbacks that modify your model attributes should be before_*, not after_*. -- James Healy <[email protected]> Thu, 22 Apr 2010 01:32:53 +1000 -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en.
