aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2005-11-03 19:06:57 +0000
committertechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2005-11-03 19:06:57 +0000
commit0e99d9298e19b72e273edfa39e6219e5b7dda2d4 (patch)
tree71cde71bd990d444a0801c67efebf3c9fe7fccdd
parent0408470ed06bd675e68bb4569d92f0c61018b06a (diff)
added documentation note to #acts_as_versioned [Martin Jul]
git-svn-id: http://svn.techno-weenie.net/projects/acts_as_versioned@191 567b1171-46fb-0310-a4c9-b4bef9110e78
-rw-r--r--CHANGELOG4
-rw-r--r--Rakefile2
-rw-r--r--lib/acts_as_versioned.rb3
3 files changed, 8 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 6bef5cb0a..21485587f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+*0.2.2*
+
+* (3 Nov 2005) added documentation note to #acts_as_versioned [Martin Jul]
+
*0.2.1*
* (6 Oct 2005) renamed dirty? to changed? to keep it uniform. it was aliased to keep it backwards compatible.
diff --git a/Rakefile b/Rakefile
index 8ebfc47b9..255a81b93 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,7 +9,7 @@ require 'rake/testtask'
require 'rake/contrib/rubyforgepublisher'
PKG_NAME = 'acts_as_versioned'
-PKG_VERSION = '0.2.1'
+PKG_VERSION = '0.2.2'
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PROD_HOST = "technoweenie@bidwell.textdrive.com"
RUBY_FORGE_PROJECT = 'ar-versioned'
diff --git a/lib/acts_as_versioned.rb b/lib/acts_as_versioned.rb
index 1918e5fb4..acdb1986f 100644
--- a/lib/acts_as_versioned.rb
+++ b/lib/acts_as_versioned.rb
@@ -25,6 +25,9 @@ module ActiveRecord #:nodoc:
# versioned table ready and that your model has a version field. This works with optimisic locking if the lock_version
# column is present as well.
#
+ # The class for the versioned model is derived the first time it is seen. Therefore, if you change your database schema you have to restart
+ # your container for the changes to be reflected. In development mode this usually means restarting WEBrick.
+ #
# class Page < ActiveRecord::Base
# # assumes pages_versions table
# acts_as_versioned