I have 3 models, Apartment, HouseRule and ApartmentRuleRelation which is a join model for has_many :through relation.
class Apartment < ApplicationRecord