vidpush/app/models/videolisting.rb

7 lines
168 B
Ruby
Raw Normal View History

2014-04-07 18:41:34 +00:00
class Videolisting < ActiveRecord::Base
belongs_to :campaign
validates :videocode, presence: true, uniqueness: true
validates :producttypeid, presence: true
2014-04-07 18:41:34 +00:00
end