#50 ActiveRecord Enum - when and why to use enums?
24/08/2021
Free
without enums:
https://github.com/corsego/50-rails-enums/commit/c8d725750760884216c429d10c5edcb815ccd5b9
enums as integers:
https://github.com/corsego/50-rails-enums/commit/4ca2195316931eac1cfae8b12ebd1d91ddc83ce3
enums as strings:
https://github.com/corsego/50-rails-enums/commit/496c143c2c00945aa9beab0a8054fb1540ffecfb
official guide:
https://edgeapi.rubyonrails.org/classes/ActiveRecord/Enum.html
0
Sign in to join the conversation