validates inclusion example rails Example: validates inclusion of rails validates_inclusion_of :size, :in => ['small', 'medium', 'large']