app/models/spree/promotion_rule.rb in spree_promo-1.1.0.rc2 vs app/models/spree/promotion_rule.rb in spree_promo-1.1.0
- old
+ new
@@ -6,10 +6,10 @@
scope :of_type, lambda {|t| {:conditions => {:type => t}}}
validate :promotion, :presence => true
validate :unique_per_activator, :on => :create
- attr_accessible :preferred_operator, :preferred_amount
+ attr_accessible :preferred_operator, :preferred_amount, :product, :product_ids_string, :preferred_match_policy
def eligible?(order, options = {})
raise 'eligible? should be implemented in a sub-class of Promotion::PromotionRule'
end