Sha256: f6cb000155f8d5d375dd077a5202321f23c7ec9fbfc47f6caf4adb799640bdd2

Contents?: true

Size: 118 Bytes

Versions: 2

Compression:

Stored size: 118 Bytes

Contents

# frozen_string_literal: true

class Shirt < ActiveRecord::Base
  pg_enum :size

  validates :size, pg_enum: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enum_kit-0.3.1 spec/internal/app/models/shirt.rb
enum_kit-0.3.0 spec/internal/app/models/shirt.rb