projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prettify the login page
[cs356-p2-videostore.git]
/
app
/
models
/
merchandise.rb
diff --git
a/app/models/merchandise.rb
b/app/models/merchandise.rb
index
16fd1e8
..
efb7c7e
100644
(file)
--- a/
app/models/merchandise.rb
+++ b/
app/models/merchandise.rb
@@
-1,7
+1,7
@@
class Merchandise < ActiveRecord::Base
has_many :merchandise_purchases
- validates_presence_of :
nam
e
+ validates_presence_of :
titl
e
validates_numericality_of :quantity
validates_numericality_of :price