Commit 3c6464b4650bfbb68dfa8c6caa46cbf1ef374562

Authored by Luke Baker
1 parent 65096c7b

update choice to only version certain attribute

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/choice.rb
1 1 class Choice < ActiveRecord::Base
2   - acts_as_versioned
  2 + acts_as_versioned :if_changed => [:data, :creator_id, :question_id, :active]
3 3  
4 4 belongs_to :question, :counter_cache => true
5 5 belongs_to :creator, :class_name => "Visitor", :foreign_key => "creator_id"
... ...