CRUDforProducts
This commit is contained in:
3
app/models/product.rb
Normal file
3
app/models/product.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class Product < ApplicationRecord
|
||||
validates_presence_of :name
|
||||
end
|
||||
Reference in New Issue
Block a user