enum in ruby code example
Example: what are active record enum
class Conversation < ActiveRecord::Base
enum status: { active: 0, archived: 1 }
end
class Conversation < ActiveRecord::Base
enum status: { active: 0, archived: 1 }
end