Programming, ruby-on-rails IT Nursery Rails find_or_create_by more than one attribute? There is a handy dynamic attribute in active-record called find_or_create_by: Model.find_or_create_by_<attribute>(:<attribute> => "") But what if I need to find_or_create by more than one attribute? Say I have a... May 30, 2022 0 Comments