From 3c6464b4650bfbb68dfa8c6caa46cbf1ef374562 Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Mon, 3 Jun 2013 10:10:06 -0400 Subject: [PATCH] update choice to only version certain attribute --- app/models/choice.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/choice.rb b/app/models/choice.rb index c42f81a..7d70fcf 100644 --- a/app/models/choice.rb +++ b/app/models/choice.rb @@ -1,5 +1,5 @@ class Choice < ActiveRecord::Base - acts_as_versioned + acts_as_versioned :if_changed => [:data, :creator_id, :question_id, :active] belongs_to :question, :counter_cache => true belongs_to :creator, :class_name => "Visitor", :foreign_key => "creator_id" -- libgit2 0.21.2