Sha256: e6f38b603f06d257210bc904c8d7bb6c0f9aca71601283d3a24ccff7c5fff2f5

Contents?: true

Size: 121 Bytes

Versions: 5

Compression:

Stored size: 121 Bytes

Contents

class SpellBook < ApplicationRecord

  validates :name, length: { minimum: 5 }, presence: true

  belongs_to :wizard
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sorbet-rails-0.5.0 spec/support/rails_shared/app/models/spell_book.rb
sorbet-rails-0.4.0 spec/support/rails_shared/app/models/spell_book.rb
sorbet-rails-0.3.0 spec/support/rails_shared/app/models/spell_book.rb
sorbet-rails-0.2.0 spec/support/rails_shared/app/models/spell_book.rb
sorbet-rails-0.1.3 spec/support/rails_app/app/models/spell_book.rb