aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2007-01-15 21:11:42 +0000
committertechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2007-01-15 21:11:42 +0000
commit3d1475a0f1bb6f5ce0f45cd35098cc55bc14274f (patch)
tree4e5c07d0ed5932bfc5acc1439410b3bea8db8371
parentf29a4bcb386b971b94e5822b49e37b4f722dc7d7 (diff)
overwrite #save_version? in without_revision
git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@2690 567b1171-46fb-0310-a4c9-b4bef9110e78
-rw-r--r--lib/acts_as_versioned.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/acts_as_versioned.rb b/lib/acts_as_versioned.rb
index 87e6fc075..cd584830c 100644
--- a/lib/acts_as_versioned.rb
+++ b/lib/acts_as_versioned.rb
@@ -51,7 +51,7 @@ module ActiveRecord #:nodoc:
#
# See ActiveRecord::Acts::Versioned::ClassMethods#acts_as_versioned for configuration options
module Versioned
- CALLBACKS = [:set_new_version, :save_version_on_create, :save_version, :clear_changed_attributes]
+ CALLBACKS = [:set_new_version, :save_version_on_create, :save_version?, :clear_changed_attributes]
def self.included(base) # :nodoc:
base.extend ClassMethods
end