2015-03-05 17:37:33 +08:00
|
|
|
class PhoneAppVersion < ActiveRecord::Base
|
|
|
|
attr_accessible :description, :version
|
2015-03-10 14:41:36 +08:00
|
|
|
validates_presence_of :description, :version
|
|
|
|
validates_uniqueness_of :version
|
2015-03-10 17:20:30 +08:00
|
|
|
acts_as_attachable
|
2015-03-05 17:37:33 +08:00
|
|
|
end
|