Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (29 sloc) 1.48 KB

== 0.0.2

Including modules does all the work, no need to call stamper/stampable explicitly

include Ddb::Userstamp::Stampable
include Ddb::Userstamp::Stamper

== 0.0.1

Only creator and updater are set and other changes lost in history

== Older changes

2.0 (2-17-2008) * [Ben Wyrosdick] - Added a migration helper that gives migration scripts a userstamps method. * [Marshall Roch] - Stamping can be temporarily turned off using the 'without_stamps' class method. Example: Post.without_stamps do post = Post.find(params[:id]) post.update_attributes(params[:post]) end

* Models that should receive updates made by 'stampers' now use the acts_as_stampable class
  method. This sets up the belongs_to relationships and also injects private methods for use by
  the individual callback filter methods.

* Models that are responsible for updating now use the acts_as_stamper class method. This
  injects the stamper= and stamper methods that are thread safe and should be updated per
  request by a controller.

* The Userstamp module is now meant to be included with one of your project's controllers (the
  Application Controller is recommended). It creates a before filter called 'set_stampers' that
  is responsible for setting all the current Stampers.

1.0 (01-18-2006) * Initial Release