boissier_app/app/models/prescription.rb
Nicolas Bally 6abf7679fd initial
2011-05-14 13:36:30 +02:00

13 lines
264 B
Ruby

# -*- encoding : utf-8 -*-
class Prescription < ActiveRecord::Base
mount_uploader :file, PrescriptionUploader
validates :name, :presence => true
validates :tel, :presence => true
DONE_BYS = [["GB",1],["MB",2],["VB",3],["MV",4],["EA",5],["PG",6]]
end