From d98502351c3ab8d84594358ad61095144e262373 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 25 Mar 2013 09:40:44 +0100 Subject: [PATCH] bug notes --- app/models/prescription.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/prescription.rb b/app/models/prescription.rb index 7731ff3..9784f04 100644 --- a/app/models/prescription.rb +++ b/app/models/prescription.rb @@ -4,7 +4,7 @@ class Prescription < ActiveRecord::Base mount_uploader :file, PrescriptionUploader attr_accessor :email - attr_accessible :email, :tel, :name, :note + attr_accessible :email, :tel, :name, :notes validates :name, :presence => true validates :tel, :presence => true