class Table < DiningFacility has_many :dining_ins has_many :bookings, :foreign_key => 'dining_facility_id' end