Sha256: dc11a334da432125dd28e365cd92ea9abd468b607bfaf7b8b0bcb509dd64930e

Contents?: true

Size: 95 Bytes

Versions: 4

Compression:

Stored size: 95 Bytes

Contents

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.0.1 test/dummy/app/models/enum_model.rb
human_attribute_values-1.0.0 test/dummy/app/models/enum_model.rb
human_attribute_values-0.0.2 test/dummy/app/models/enum_model.rb
human_attribute_values-0.0.1 test/dummy/app/models/enum_model.rb