socialforge/app/models/phone_app_version.rb

7 lines
191 B
Ruby

class PhoneAppVersion < ActiveRecord::Base
attr_accessible :description, :version
validates_presence_of :description, :version
validates_uniqueness_of :version
acts_as_attachable
end