Add list of just-purchased items (this transaction) to the purchase view
[cs356-p2-videostore.git] / app / models / merchandise.rb
index 16fd1e8..efb7c7e 100644 (file)
@@ -1,7 +1,7 @@
 class Merchandise < ActiveRecord::Base
   has_many :merchandise_purchases
 
-  validates_presence_of :name
+  validates_presence_of :title
   validates_numericality_of :quantity
   validates_numericality_of :price