Simple plugin to track changes in associations. Fully working with specs, tested under both Rails 2.2 and Rails 2.3
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 10 commits behind openhood:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
README
Rakefile
init.rb

README

= Skip Stamp

Thread-safe way to avoid automatic overriding of created_at, created_on, updated_at and updated_on fields.

== Example

def Chickens < ActiveRecord::Base
  def updated_one_week_ago
    skip_stamp{update_attribute :updated_at, 1.week.ago}
  end
end