class BloodDrive
  include Mongoid::Document
  include Mongoid::Timestamps
  has_many :donations, as: :eventable

  field :location, type: String
  field :date, type: DateTime
  field :description, type: String
end
class BloodDrive
  include Mongoid::Document
  include Mongoid::Timestamps
  has_many :donations, as: :eventable

  field :location, type: String
  field :date, type: DateTime
  field :description, type: String
  
  validates_presence_of :location, :date, :description
end
Add validation to blood drives
Add validation to blood drives
