lib/paper_trail/version.rb in paper_trail-2.3.3 vs lib/paper_trail/version.rb in paper_trail-2.4.0

- old
+ new

@@ -1,7 +1,8 @@ class Version < ActiveRecord::Base belongs_to :item, :polymorphic => true validates_presence_of :event + attr_accessible :item_type, :item_id, :event, :whodunnit, :object, :object_changes def self.with_item_keys(item_type, item_id) scoped(:conditions => { :item_type => item_type, :item_id => item_id }) end