<HTML>
<HEAD>
<TITLE>Problem with after_update</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi everyone,<BR>
<BR>
Has anyone successfully used betternestedset with acts_as_versioned?<BR>
<BR>
I&#8217;m having problems with one of the callbacks:<BR>
<BR>
Inside vendor/plugins/acts_as_versioned/lib/acts_as_versioned.rb (line 205):<BR>
<BR>
<B>after_update :save_version <BR>
</B><BR>
Doesn&#8217;t seem the save_version method is being called. &nbsp;I fixed it by changing it to after_save (which makes it work).<BR>
<BR>
I&#8217;ve been getting before_update and after_update callback problems in my model after adding betternestedset to it. &nbsp;I suspect it&#8217;s because betternestedset overrides AR&#8217;s update method in order to avoid concurrency issues with the rgt and lft columns.<BR>
<BR>
Any help?<BR>
<BR>
Thanks<BR>
Conrad</SPAN></FONT>
</BODY>
</HTML>