search for: switch_versioned

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

2006 May 31
0
how to disable callback
How do I locally disable a callback from being performed? My class has class Keyword < ActiveRecord::Base after_update :switch_versioned private # Callback used to warn the user that an updated record # has not been saved in the version table def switch_versioned logger.debug "coucou" self.versioned= false end But another class has a method that sets @keyword.versioned= true...