app/models/ad_unit.rb in kit_cms-2.3.20 vs app/models/ad_unit.rb in kit_cms-2.3.22

- old
+ new

@@ -1,8 +1,8 @@ -# TODO: DB class AdUnit < ActiveRecord::Base has_many :ad_zones + attr_accessible :name, :height, :width, :content_type, :system_id validates :name, :presence=>true, :uniqueness=>{:scope=>:system_id} validates :width, :presence=>true validates :height, :presence=>true