Sha256: ebb92a490f201d86af4f738e94e4f1c8056adff9c2137343f4f4fc410cd52cb5

Contents?: true

Size: 126 Bytes

Versions: 4

Compression:

Stored size: 126 Bytes

Contents

# frozen_string_literal: true

class EnumModel < ActiveRecord::Base
  enum status: {dead_and_alive: 0, alive: 1, dead: 2}
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
human_attribute_values-1.2.2 test/dummy/app/models/enum_model.rb
human_attribute_values-1.2.1 test/dummy/app/models/enum_model.rb
human_attribute_values-1.2.0 test/dummy/app/models/enum_model.rb
human_attribute_values-1.1.1 test/dummy/app/models/enum_model.rb