Eric Greer

Results 11 issues of Eric Greer

Rails 7.1+ introduced validation on enums in https://github.com/rails/rails/pull/49100. ```rb class Attachment < ApplicationRecord enum :attachment_type, { report: 'report', note: 'letter' }, default: 'report', validate: true ... ``` When backed by...