Lee Chun HoeGet all unique enums from Rails ActiveRecordMyModel.order(:attribute).distinct.pluck(:attribute)May 31, 2019May 31, 2019