Sha256: cc3d5fc71fdb99e6e09ae38fba4f55da3de37650b4cb3b941b1ac0518aa95dd4

Contents?: true

Size: 132 Bytes

Versions: 1

Compression:

Stored size: 132 Bytes

Contents

class Project < ApplicationRecord
  belongs_to :owner, class_name: 'User'
  has_many :issues

  validates :name, presence: true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
model_base_generators-0.2.0 example/app/models/project.rb