This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/models/experience.rb

6 lines
127 B
Ruby
Raw Permalink Normal View History

class Experience < ActiveRecord::Base
belongs_to :people
belongs_to :beer
validates_presence_of :people_id, :beer_id
end