Sha256: 8699fcd0cf58d324b1b17bfe86a3af08ccc910e62051631fa6b9f7f3d8d925de

Contents?: true

Size: 102 Bytes

Versions: 2

Compression:

Stored size: 102 Bytes

Contents

class ErrorDuplicator < ActiveRecord::Base
  validates :subject, uniqueness: true, presence: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-prg-0.1.1 spec/dummy/app/models/error_duplicator.rb
rails-prg-0.1.0 spec/dummy/app/models/error_duplicator.rb