test/dummy/app/models/banner.rb in epom_rails-1.0.0 vs test/dummy/app/models/banner.rb in epom_rails-1.3.2

- old
+ new

@@ -1,2 +1,4 @@ class Banner < ActiveRecord::Base + belongs_to :campaign + validates :campaign_id, presence: true acts_as_banner end